Merge branch 'b3sigma-shutdowncrashfix'

This commit is contained in:
Micah Lee 2016-12-21 23:14:10 -08:00
commit 9cd41bf112
No known key found for this signature in database
GPG Key ID: 403C2657CD994F73

View File

@ -179,7 +179,10 @@ class Onion(object):
if self.supports_ephemeral:
# cleanup the ephemeral onion service
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
else: