mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2025-08-18 01:15:46 +00:00
Ensure a connection termination callback is not invoked due to calling LiInterruptConnection()
This commit is contained in:
parent
dd49e5bbfd
commit
860393536d
@ -144,7 +144,7 @@ static void ClInternalConnectionTerminated(long errorCode)
|
||||
int err;
|
||||
|
||||
// Avoid recursion and issuing multiple callbacks
|
||||
if (alreadyTerminated) {
|
||||
if (alreadyTerminated || ConnectionInterrupted) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user