Begin work to remove use of thread cancellation for NaCl

This commit is contained in:
Cameron Gutman
2016-02-15 15:58:42 -05:00
parent b2be459ff3
commit d7f40ec39b
9 changed files with 103 additions and 76 deletions

View File

@@ -384,7 +384,7 @@ int stopControlStream(void) {
PltInterruptThread(&invalidateRefFramesThread);
if (ctlSock != INVALID_SOCKET) {
closesocket(ctlSock);
closeSocket(ctlSock);
ctlSock = INVALID_SOCKET;
}