diff --git a/src/channelimpl.cpp b/src/channelimpl.cpp index f3c5709..60054d0 100644 --- a/src/channelimpl.cpp +++ b/src/channelimpl.cpp @@ -846,6 +846,7 @@ void ChannelImpl::reportError(const char *message, bool notifyhandler) // the connection no longer has to know that this channel exists, // because the channel ID is no longer in use if (_connection) _connection->remove(this); + _connection = nullptr; } /**