Fix call to web.cleanup() when closing a tab that has a running share

This commit is contained in:
Miguel Jacq 2021-05-04 16:48:42 +10:00
parent c6ccd4de57
commit 49a1e2890b
No known key found for this signature in database
GPG Key ID: EEA4341C6D97A0B6

View File

@ -668,7 +668,7 @@ class Tab(QtWidgets.QWidget):
if self.close_dialog.clickedButton() == self.close_dialog.accept_button: if self.close_dialog.clickedButton() == self.close_dialog.accept_button:
self.common.log("Tab", "close_tab", "close, closing tab") self.common.log("Tab", "close_tab", "close, closing tab")
self.get_mode().stop_server() self.get_mode().stop_server()
mode.web.cleanup() self.get_mode().web.cleanup()
return True return True
# Cancel # Cancel
else: else: