fix duplicate _connection->remove call on ConnectionImpl objects that were already destroyed, but didn't detach in case of errors
This commit is contained in:
parent
180eae10b6
commit
d3f35fb524
|
|
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue