mirror of
https://github.com/wiiu-env/wiiload_plugin.git
synced 2024-11-24 19:46:52 +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) {
|
} else if (!exitRequested) {
|
||||||
if (errno != EBUSY) {
|
if (errno != EBUSY) {
|
||||||
DEBUG_FUNCTION_LINE_WARN("Accept failed %d", errno);
|
DEBUG_FUNCTION_LINE_WARN("Accept failed %d", errno);
|
||||||
|
cleanupSocket();
|
||||||
}
|
}
|
||||||
OSSleepTicks(OSMillisecondsToTicks(10));
|
OSSleepTicks(OSMillisecondsToTicks(10));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user