move self.get_mode().web.cleanup() inside the if self.get_mode() conditional, in desktop

This commit is contained in:
Miguel Jacq 2021-05-04 16:30:38 +10:00
parent 04019389da
commit d8801ff061
No known key found for this signature in database
GPG Key ID: EEA4341C6D97A0B6

View File

@ -681,4 +681,4 @@ class Tab(QtWidgets.QWidget):
self.get_mode().web.stop(self.get_mode().app.port) self.get_mode().web.stop(self.get_mode().app.port)
self.get_mode().web_thread.quit() self.get_mode().web_thread.quit()
self.get_mode().web_thread.wait() self.get_mode().web_thread.wait()
self.get_mode().web.cleanup() self.get_mode().web.cleanup()