mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 21:39:52 +00:00
Debugger: Prevent infinite loop on dead socket.
If send() fails, abort instead of retrying forever.
This commit is contained in:
parent
4232ef59b4
commit
cd85dec01b
@ -333,6 +333,8 @@ bool OutputSink::Flush(bool allowBlock) {
|
||||
if (!allowBlock || !Block()) {
|
||||
return false;
|
||||
}
|
||||
} else if (bytes < 0) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user