mirror of
https://github.com/onionshare/onionshare.git
synced 2025-06-28 00:07:13 -04:00
Merge branch 'b3sigma-shutdowncrashfix'
This commit is contained in:
commit
9cd41bf112
1 changed files with 4 additions and 1 deletions
|
@ -179,7 +179,10 @@ class Onion(object):
|
||||||
if self.supports_ephemeral:
|
if self.supports_ephemeral:
|
||||||
# cleanup the ephemeral onion service
|
# cleanup the ephemeral onion service
|
||||||
if self.service_id:
|
if self.service_id:
|
||||||
self.c.remove_ephemeral_hidden_service(self.service_id)
|
try:
|
||||||
|
self.c.remove_ephemeral_hidden_service(self.service_id)
|
||||||
|
except:
|
||||||
|
pass
|
||||||
self.service_id = None
|
self.service_id = None
|
||||||
|
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue