prevent CAChannel::disconnectChannel() from calling ca_clear_channel twice
This was causing a crash when exiting
This commit is contained in:
1 parent
4d2e682a95
commit
cb21eb4f1e
1 file changed
+1
@@ -425,6 +425,7 @@ void CAChannel::disconnectChannel()
|
||||
{
|
||||
Lock lock(requestsMutex);
|
||||
if(!channelCreated) return;
|
||||
channelCreated = false;
|
||||
}
|
||||
/* Clear CA Channel */
|
||||
threadAttach();
|
||||
|
||||
Reference in new issue
Block a user