mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-30 12:32:43 +00:00
logs: Prevent potential deadlock of the main thread in stack mode
If a thread logs faster than the GUI thread can print on screen.
This commit is contained in:
parent
9212942724
commit
501ca4bcf5
@ -676,6 +676,13 @@ void log_frame::UpdateUI()
|
|||||||
}
|
}
|
||||||
|
|
||||||
s_gui_listener.pop();
|
s_gui_listener.pop();
|
||||||
|
|
||||||
|
if (steady_clock::now() >= start + 7ms)
|
||||||
|
{
|
||||||
|
// Must break eventually
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user