Prepared RNodeInterface for live detach/attach

This commit is contained in:
Mark Qvist 2026-09-27 19:26:09 +02:00
parent e68f4ff118
commit 24b1ac521e
No known key found for this signature in database
5 changed files with 34 additions and 22 deletions

View file

@ -1,6 +1,6 @@
# Reticulum License
#
# Copyright (c) 2016-2025 Mark Qvist
# Copyright (c) 2016-2026 Mark Qvist
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
@ -916,6 +916,7 @@ class RNodeMultiInterface(Interface):
if interface != 0:
self.setRadioState(KISS.RADIO_STATE_OFF, interface)
self.leave()
self.serial.close()
def teardown_subinterfaces(self):
for interface in self.subinterfaces: