mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2025-09-10 12:03:06 +02:00
stop frame processing on exit
This commit is contained in:
parent
5447940ed1
commit
d448535021
1 changed files with 3 additions and 0 deletions
|
@ -1249,6 +1249,9 @@ void Steam_Overlay::UnSetupOverlay()
|
|||
if (setup_overlay_called.compare_exchange_weak(already_called, false)) {
|
||||
is_ready = false;
|
||||
|
||||
// stop internal frame processing
|
||||
if (_renderer) _renderer->HideOverlayInputs(true);
|
||||
|
||||
// allow the future_renderer thread to exit if needed
|
||||
// std::this_thread::sleep_for(std::chrono::milliseconds((int)(renderer_detector_polling_ms * 1.3f)));
|
||||
common_helpers::thisThreadYieldFor(
|
||||
|
|
Loading…
Add table
Reference in a new issue