Fix shutdown call

This commit is contained in:
Florian Bruhin 2018-11-28 19:56:52 +01:00
parent 89650d89f1
commit 1d4729c7f7

View File

@ -356,7 +356,7 @@ class TabbedBrowser(QWidget):
else: else:
self._undo_stack[-1].append(entry) self._undo_stack[-1].append(entry)
tab.shutdown() tab.private_api.shutdown()
self.widget.removeTab(idx) self.widget.removeTab(idx)
if not crashed: if not crashed:
# WORKAROUND for a segfault when we delete the crashed tab. # WORKAROUND for a segfault when we delete the crashed tab.