diff options
Diffstat (limited to 'amqp/connection.py')
-rw-r--r-- | amqp/connection.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/amqp/connection.py b/amqp/connection.py index 3e9097f..1dd52c1 100644 --- a/amqp/connection.py +++ b/amqp/connection.py @@ -484,6 +484,7 @@ class Connection(AbstractChannel): def _get_free_channel_id(self): for channel_id in range(1, self.channel_max): if channel_id not in self._used_channel_ids: + self._used_channel_ids.append(channel_id) return channel_id raise ResourceError( |