Improved shutdown handling on interrupt. Updated gitignore.

This commit is contained in:
Mark Qvist 2021-11-04 17:14:58 +01:00
parent 58f43b163e
commit 165e620043
3 changed files with 6 additions and 2 deletions

View file

@ -173,8 +173,10 @@ class LocalClientInterface(Interface):
# to now that all connectivity has been cut
# while service is recovering. Better for
# now to take down entire stack.
RNS.log("Lost connection to local shared RNS instance. Exiting now.", RNS.LOG_CRITICAL)
RNS.panic()
if nowarning == False:
RNS.log("Lost connection to local shared RNS instance. Exiting now.", RNS.LOG_CRITICAL)
RNS.exit()
def __str__(self):