asciiwolf pushed to branch main at The Tor Project / Applications /
torbrowser-launcher
Commits:
6a0d6235 by BTD Master at 2025-09-27T10:12:08+01:00
fix: keep thread references
- - - - -
b44e2146 by asciiwolf at 2025-09-27T11:02:42+00:00
Merge branch 'keep-thread-references' into 'main'
Keep thread references
Closes #35
See merge request tpo/applications/torbrowser-launcher!34
- - - - -
1 changed file:
- torbrowser_launcher/launcher.py
Changes:
=====================================
torbrowser_launcher/launcher.py
=====================================
@@ -71,6 +71,7 @@ class Launcher(QtWidgets.QMainWindow):
self.url_list = url_list
self.force_redownload = False
+ self._threads = []
# This is the current version of Tor Browser, which should get updated
with every release
self.min_version = "13.0"
@@ -350,9 +351,11 @@ class Launcher(QtWidgets.QMainWindow):
t.progress_update.connect(progress_update)
t.download_complete.connect(download_complete)
t.download_error.connect(download_error)
+ self._threads.append(t)
t.start()
time.sleep(0.2)
+
def try_default_mirror(self):
# change mirror to default and relaunch TBL
self.common.settings["mirror"] = self.common.default_mirror
@@ -420,6 +423,7 @@ class Launcher(QtWidgets.QMainWindow):
t = VerifyThread(self.common)
t.error.connect(error)
t.success.connect(success)
+ self._threads.append(t)
t.start()
time.sleep(0.2)
@@ -449,6 +453,7 @@ class Launcher(QtWidgets.QMainWindow):
t = ExtractThread(self.common)
t.error.connect(error)
t.success.connect(success)
+ self._threads.append(t)
t.start()
time.sleep(0.2)
View it on GitLab:
https://gitlab.torproject.org/tpo/applications/torbrowser-launcher/-/compare/f4b5c1279955b19fedb0c5408fe2a40ea546524b...b44e21466f7b9e52adc8b6a8ad622f9ff615eb5f
--
View it on GitLab:
https://gitlab.torproject.org/tpo/applications/torbrowser-launcher/-/compare/f4b5c1279955b19fedb0c5408fe2a40ea546524b...b44e21466f7b9e52adc8b6a8ad622f9ff615eb5f
You're receiving this email because of your account on gitlab.torproject.org.
_______________________________________________
tor-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]