Skip to content
Permalink
Browse files
Merge pull request #8237 from JosJuice/memory-watcher-nullptr
Fix FIFO player crashing when USE_MEMORYWATCHER is defined
  • Loading branch information
stenzek committed Jul 11, 2019
2 parents 398aa2a + 44fe581 commit 8d8d103
Showing 1 changed file with 2 additions and 1 deletion.
@@ -133,7 +133,8 @@ void FrameUpdateOnCPUThread()
void OnFrameEnd()
{
#ifdef USE_MEMORYWATCHER
s_memory_watcher->Step();
if (s_memory_watcher)
s_memory_watcher->Step();
#endif
}

0 comments on commit 8d8d103

Please sign in to comment.