linux fixes

This commit is contained in:
Erwin Coumans
2020-03-20 20:19:15 -07:00
parent c4898ed3e3
commit 1e3bc22483
4 changed files with 5 additions and 4 deletions

View File

@@ -507,9 +507,10 @@ void TCPThreadFunc(void* userPtr, void* lsMemory)
args->m_cs->unlock();
} while (cachedSharedParam != eTCPRequestTerminate);
#ifdef BT_ENABLE_CLSOCKET
socket.Close();
socket.Shutdown(CSimpleSocket::Both);
#endif
}
else
{