Ensure RNS exit handlers are executed on service shutdown, in case OS event is not sent. Fixes #90.

This commit is contained in:
Mark Qvist 2025-11-07 23:15:23 +01:00
commit 0c965d9259

View file

@ -5509,7 +5509,7 @@ class SidebandCore():
def cleanup(self):
if RNS.vendor.platformutils.get_platform() == "android":
if not self.reticulum.is_connected_to_shared_instance:
RNS.Transport.detach_interfaces()
RNS.Reticulum.exit_handler()
def _start_voice(self):
try: