mirror of
https://github.com/onionshare/onionshare.git
synced 2025-07-27 16:45:44 -04:00
Fix up autostart (scheduled shares)
This commit is contained in:
parent
657d51de48
commit
065e849051
2 changed files with 83 additions and 32 deletions
|
@ -76,7 +76,7 @@ class OnionThread(QtCore.QThread):
|
|||
time.sleep(0.2)
|
||||
self.success_early.emit()
|
||||
# Unregister the onion so we can use it in the next OnionThread
|
||||
self.mode.app.start_onion_service(self.mode.settings)
|
||||
self.mode.app.onion.cleanup(False)
|
||||
else:
|
||||
self.mode.app.start_onion_service(
|
||||
self.mode.settings, await_publication=True
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue