mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-14 08:00:50 +02:00
1 parent
649a49488b
commit
7c0cf51f09
1 file changed
+1
-1
@@ -514,7 +514,7 @@ void WaitForRequests() {
|
||||
} else {
|
||||
auto Now = std::chrono::system_clock::now();
|
||||
auto Diff = Now - LastDataTime;
|
||||
if (Diff >= std::chrono::seconds(RequestTimeout) && !Foreground && PollFDs.size() == 1) {
|
||||
if (Diff >= std::chrono::seconds(RequestTimeout) && !Foreground && PollFDs.size() == 2) {
|
||||
// If we aren't running in the foreground and we have no connections after a timeout
|
||||
// Then we can just go ahead and leave
|
||||
ShouldShutdown = true;
|
||||
|
||||
Reference in new issue
Block a user