Fix bug in port closed handling
This commit is contained in:
parent
e2ed200509
commit
4a431b8fdf
@ -159,11 +159,12 @@ int main(void)
|
|||||||
{
|
{
|
||||||
sessionData->replayCmdbuf[1] = 0xD0406401; // unregistered service or named port
|
sessionData->replayCmdbuf[1] = 0xD0406401; // unregistered service or named port
|
||||||
moveNode(sessionData, &sessionDataWaitingForServiceOrPortRegisterList, true);
|
moveNode(sessionData, &sessionDataWaitingForServiceOrPortRegisterList, true);
|
||||||
svcCloseHandle(handles[id]);
|
|
||||||
handles[id] = handles[--nbHandles];
|
|
||||||
sessionData->busyClientPortHandle = 0;
|
sessionData->busyClientPortHandle = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
svcCloseHandle(handles[id]);
|
||||||
|
handles[id] = handles[--nbHandles];
|
||||||
}
|
}
|
||||||
|
|
||||||
replyTarget = 0;
|
replyTarget = 0;
|
||||||
|
Reference in New Issue
Block a user