Cleanup tabs on cleanup

This commit is contained in:
Micah Lee 2019-11-28 14:58:04 -08:00
parent 8530321e5d
commit a0197e49d7
No known key found for this signature in database
GPG key ID: 403C2657CD994F73
2 changed files with 3 additions and 2 deletions

View file

@ -286,5 +286,7 @@ class MainWindow(QtWidgets.QMainWindow):
e.accept()
def cleanup(self):
for index in range(self.tabs.count()):
tab = self.tabs.widget(index)
tab.cleanup()
self.common.gui.onion.cleanup()
# TODO: Run the tab's cleanup