Fixed occasional io thread hang on shutdown

This commit is contained in:
Mark Qvist 2025-04-15 18:04:32 +02:00
parent da8a0ee5e9
commit bfe5b876de
2 changed files with 1 additions and 1 deletions

View file

@ -173,6 +173,7 @@ class Reticulum:
# classes, saving necessary information to disk and carrying
# out cleanup operations.
if not Reticulum.__exit_handler_ran:
Reticulum.__exit_handler_ran = True
if not Reticulum.__interface_detach_ran:
RNS.Transport.detach_interfaces()
RNS.Transport.exit_handler()