mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2024-12-26 10:24:14 +08:00
stop frame processing on exit
This commit is contained in:
parent
5447940ed1
commit
d448535021
@ -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…
x
Reference in New Issue
Block a user