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 ff5e73a2ae
commit 484aa23477

View File

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