Fix up autostart (scheduled shares)

This commit is contained in:
Miguel Jacq 2019-11-29 16:38:34 +11:00
parent c588783f57
commit 35e6e88ea1
No known key found for this signature in database
GPG key ID: EEA4341C6D97A0B6
2 changed files with 83 additions and 32 deletions

View file

@ -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