diff --git a/RNS/Transport.py b/RNS/Transport.py index 06e2f59..6e46eb9 100755 --- a/RNS/Transport.py +++ b/RNS/Transport.py @@ -2238,7 +2238,10 @@ class Transport: pass for interface in detachable_interfaces: - interface.detach() + try: + interface.detach() + except Exception as e: + RNS.log("An error occurred while detaching "+str(interface)+". The contained exception was: "+str(e), RNS.LOG_ERROR) @staticmethod def shared_connection_disappeared():