mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-20 03:24:59 +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
1 changed files with 0 additions and 1 deletions
|
@ -138,7 +138,6 @@ void Shutdown()
|
|||
WriteLock lock(s_layers_rw_lock);
|
||||
|
||||
s_layers.clear();
|
||||
s_callbacks.clear();
|
||||
}
|
||||
|
||||
void ClearCurrentRunLayer()
|
||||
|
|
Loading…
Add table
Reference in a new issue