mirror of
https://github.com/onionshare/onionshare.git
synced 2025-09-27 11:31:03 -04:00
Only wait for share mode rendezvous circuits to close, ignore the rest
This commit is contained in:
parent
9c1941067f
commit
8d3b999a81
3 changed files with 17 additions and 8 deletions
|
@ -353,7 +353,7 @@ def main(cwd=None):
|
|||
)
|
||||
sys.exit()
|
||||
|
||||
app.start_onion_service(mode_settings, False, True)
|
||||
app.start_onion_service(mode, mode_settings, False, True)
|
||||
url = build_url(mode_settings, app, web)
|
||||
schedule = datetime.now() + timedelta(seconds=autostart_timer)
|
||||
if mode == "receive":
|
||||
|
@ -389,9 +389,9 @@ def main(cwd=None):
|
|||
print("Waiting for the scheduled time before starting...")
|
||||
app.onion.cleanup(False)
|
||||
time.sleep(autostart_timer)
|
||||
app.start_onion_service(mode_settings)
|
||||
app.start_onion_service(mode, mode_settings)
|
||||
else:
|
||||
app.start_onion_service(mode_settings)
|
||||
app.start_onion_service(mode, mode_settings)
|
||||
except KeyboardInterrupt:
|
||||
print("")
|
||||
sys.exit()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue