End web thread successfully when cleaning up after a tab, which prevents crashes after running the tests; and fix msi_filename in Windows build script

This commit is contained in:
Micah Lee 2020-11-09 19:47:57 -08:00
parent a8ef55550f
commit f67e7ce678
No known key found for this signature in database
GPG key ID: 403C2657CD994F73
3 changed files with 8 additions and 4 deletions

View file

@ -663,4 +663,6 @@ class Tab(QtWidgets.QWidget):
return False
def cleanup(self):
self.get_mode().web_thread.quit()
self.get_mode().web_thread.wait()
self.app.cleanup()