mirror of
https://github.com/wiiu-env/homebrew_launcher.git
synced 2024-11-05 20:45:08 +01:00
fixed wrong socket shutdown detection
This commit is contained in:
parent
c2bf18f3af
commit
9dca350343
@ -29,7 +29,7 @@ TcpReceiver::~TcpReceiver()
|
|||||||
{
|
{
|
||||||
exitRequested = true;
|
exitRequested = true;
|
||||||
|
|
||||||
if(serverSocket > 0)
|
if(serverSocket >= 0)
|
||||||
{
|
{
|
||||||
shutdown(serverSocket, SHUT_RDWR);
|
shutdown(serverSocket, SHUT_RDWR);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user