mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-04 23:45:04 -04:00
Fix up autostart (scheduled shares)
This commit is contained in:
parent
c588783f57
commit
35e6e88ea1
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