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:
JosJuice 2023-08-16 22:16:50 +02:00
parent 71ce8bb6f0
commit 2b17e89336
1 changed files with 0 additions and 1 deletions

View File

@ -138,7 +138,6 @@ void Shutdown()
WriteLock lock(s_layers_rw_lock);
s_layers.clear();
s_callbacks.clear();
}
void ClearCurrentRunLayer()