prevent CAChannel::disconnectChannel() from calling ca_clear_channel twice
This was causing a crash when exiting
This commit is contained in:
@@ -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