diff --git a/gen/radios.py b/gen/radios.py index 62790a4c..9462cf5d 100644 --- a/gen/radios.py +++ b/gen/radios.py @@ -183,6 +183,7 @@ class RadioRegistry: try: while (channel := next(allocator)) in self.allocated_channels: pass + self.reserve(channel) return channel except StopIteration: raise OutOfChannelsError(radio)