The previous implementation had some caveats that made it difficult
to ensure thread safety when the connection was unstable. This commit
simplifies this by by only removing closed channels when
we are opening a new channel or when closing the connection.
Additional changes
Fixed bug where a closed connection kept the confirm deliveries state when re-opening it manually.
The previous implementation had some caveats that made it difficult to ensure thread safety when the connection was unstable. This commit simplifies this by by only removing closed channels when we are opening a new channel or when closing the connection.
Additional changes