mirror of
https://github.com/wiiu-env/WiiUPluginSystem.git
synced 2024-11-16 15:49:23 +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() {
|
||||
exitRequested = true;
|
||||
|
||||
if(serverSocket > 0) {
|
||||
if(serverSocket >= 0) {
|
||||
shutdown(serverSocket, SHUT_RDWR);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user