mirror of
https://github.com/onionshare/onionshare.git
synced 2025-06-07 22:32:58 -04:00
Ensure we always set the service id, so we can stop the right one (particularly when scheduling a share)
This commit is contained in:
parent
981220d1ce
commit
29e60fcacf
2 changed files with 2 additions and 4 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.onion.cleanup(False)
|
||||
self.mode.app.stop_onion_service(self.mode.settings)
|
||||
else:
|
||||
self.mode.app.start_onion_service(
|
||||
self.mode.settings, await_publication=True
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue