Emit shutting_down signal when a WebEngineTab shuts down

Fixes #2109
This commit is contained in:
Florian Bruhin 2016-11-10 22:03:12 +01:00
parent 8d781c68c9
commit 29cb9279e5

View File

@ -538,6 +538,7 @@ class WebEngineTab(browsertab.AbstractTab):
self._widget.page().runJavaScript(code, callback) self._widget.page().runJavaScript(code, callback)
def shutdown(self): def shutdown(self):
self.shutting_down.emit()
self._widget.shutdown() self._widget.shutdown()
def reload(self, *, force=False): def reload(self, *, force=False):