mirror of
https://github.com/onionshare/onionshare.git
synced 2025-02-03 01:50:11 -05:00
Fix call to web.cleanup() when closing a tab that has a running share
This commit is contained in:
parent
c6ccd4de57
commit
49a1e2890b
@ -668,7 +668,7 @@ class Tab(QtWidgets.QWidget):
|
||||
if self.close_dialog.clickedButton() == self.close_dialog.accept_button:
|
||||
self.common.log("Tab", "close_tab", "close, closing tab")
|
||||
self.get_mode().stop_server()
|
||||
mode.web.cleanup()
|
||||
self.get_mode().web.cleanup()
|
||||
return True
|
||||
# Cancel
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user