Add assert back

preventConflictingFlags
Onder Kalaci 2020-04-07 15:37:02 +02:00
parent 310a0cd442
commit 597651add4
1 changed files with 3 additions and 0 deletions

View File

@ -437,6 +437,9 @@ DecrementSharedConnectionCounter(const char *hostname, int port)
return;
}
/* we should never go below 0 */
Assert (connectionEntry->connectionCount > 0);
connectionEntry->connectionCount -= 1;
UnLockConnectionSharedMemory();