E2OpenPlugins/e2openplugin-OpenWebif — pull request #222 by athoik (2014-11-29 21:59:09+00:00)
Title: Fix a RuntimeError in grabFinished

When calling requst.finish and connection is gone the Enigma2 crashes withe the following error:

Traceback (most recent call last):
File "/usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/controllers/models/grab.py", line 91, in grabFinished
self.request.finish()
File "/usr/lib/python2.7/site-packages/twisted/web/server.py", line 228, in finish
File "/usr/lib/python2.7/site-packages/twisted/web/http.py", line 929, in finish
RuntimeError: Request.finish called on a request after its connection was lost; use Request.notifyFinish to keep track of this.

Handle that error and print a notification instead.