mirror of
https://github.com/wiiu-env/WiiUPluginSystem.git
synced 2025-02-09 13:48:48 +01:00
[Loader] Fixed possible deadlock
This commit is contained in:
parent
2c311aea66
commit
720762d891
@ -30,7 +30,7 @@ TcpReceiver::TcpReceiver(int port)
|
|||||||
TcpReceiver::~TcpReceiver() {
|
TcpReceiver::~TcpReceiver() {
|
||||||
exitRequested = true;
|
exitRequested = true;
|
||||||
|
|
||||||
if(serverSocket > 0) {
|
if(serverSocket >= 0) {
|
||||||
shutdown(serverSocket, SHUT_RDWR);
|
shutdown(serverSocket, SHUT_RDWR);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user