use os._exit(0) instead of sys.exit() #134
|
@ -2214,7 +2214,7 @@ def calculateTestnetAddressFromPubkey(pubkey):
|
||||||
def signal_handler(signal, frame):
|
def signal_handler(signal, frame):
|
||||||
if shared.safeConfigGetBoolean('bitmessagesettings','daemon'):
|
if shared.safeConfigGetBoolean('bitmessagesettings','daemon'):
|
||||||
shared.doCleanShutdown()
|
shared.doCleanShutdown()
|
||||||
sys.exit()
|
sys.exit(0)
|
||||||
else:
|
else:
|
||||||
print 'Unfortunately you cannot use Ctrl+C when running the UI because the UI captures the signal.'
|
print 'Unfortunately you cannot use Ctrl+C when running the UI because the UI captures the signal.'
|
||||||
|
|
||||||
|
|
Reference in New Issue
Block a user