mirror of
https://github.com/wiiu-env/wiiload_plugin.git
synced 2024-11-24 11:39:15 +01:00
Clean up socket on error
This commit is contained in:
parent
1984203bed
commit
6a87b9e107
@ -102,6 +102,7 @@ void TcpReceiver::executeThread() {
|
||||
} else if (!exitRequested) {
|
||||
if (errno != EBUSY) {
|
||||
DEBUG_FUNCTION_LINE_WARN("Accept failed %d", errno);
|
||||
cleanupSocket();
|
||||
}
|
||||
OSSleepTicks(OSMillisecondsToTicks(10));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user