mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-17 08:44:58 +00:00
Config: Don't clear callbacks on shutdown
This fixes a problem that started happening in CoreTimingTest after the previous commit. CPUThreadConfigCallback registers a Config callback only once per run of the process, but CoreTimingTest calls Config::Shutdown after each test, and Config::Shutdown was clearing all callbacks, preventing the callback from running after that.
This commit is contained in:
parent
71ce8bb6f0
commit
2b17e89336
@ -138,7 +138,6 @@ void Shutdown()
|
||||
WriteLock lock(s_layers_rw_lock);
|
||||
|
||||
s_layers.clear();
|
||||
s_callbacks.clear();
|
||||
}
|
||||
|
||||
void ClearCurrentRunLayer()
|
||||
|
Loading…
x
Reference in New Issue
Block a user