Skip to content
Permalink
Browse files
Merge pull request #9623 from Techjar/pauseandlock-fix
Core: Fix PauseAndLock segfaulting under certain circumstances
  • Loading branch information
leoetlino committed Apr 6, 2021
2 parents d96874a + 9235a90 commit ac250f7
Showing 1 changed file with 1 addition and 1 deletion.
@@ -750,7 +750,7 @@ void RequestRefreshInfo()
static bool PauseAndLock(bool do_lock, bool unpause_on_unlock)
{
// WARNING: PauseAndLock is not fully threadsafe so is only valid on the Host Thread
if (!IsRunning())
if (!IsRunningAndStarted())
return true;

bool was_unpaused = true;

0 comments on commit ac250f7

Please sign in to comment.