mirror of
https://github.com/onionshare/onionshare.git
synced 2025-06-08 06:43:00 -04:00
Refactor Onion to store all state for auto-start timer directly in the mode settings, and not in the Onion object itself
This commit is contained in:
parent
5b6d986951
commit
e7bd89c41d
3 changed files with 10 additions and 56 deletions
|
@ -70,7 +70,7 @@ class OnionThread(QtCore.QThread):
|
|||
try:
|
||||
if self.mode.obtain_onion_early:
|
||||
self.mode.app.start_onion_service(
|
||||
self.mode.settings, await_publication=False, save_scheduled_key=True
|
||||
self.mode.settings, await_publication=False
|
||||
)
|
||||
# wait for modules in thread to load, preventing a thread-related cx_Freeze crash
|
||||
time.sleep(0.2)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue