Ensure a connection termination callback is not invoked due to calling LiInterruptConnection()
This commit is contained in:
parent
dd49e5bbfd
commit
860393536d
1 changed files with 1 additions and 1 deletions
|
|
@ -144,7 +144,7 @@ static void ClInternalConnectionTerminated(long errorCode)
|
|||
int err;
|
||||
|
||||
// Avoid recursion and issuing multiple callbacks
|
||||
if (alreadyTerminated) {
|
||||
if (alreadyTerminated || ConnectionInterrupted) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue