1
0
mirror of https://github.com/wolfpld/tracy synced 2025-04-29 04:23:51 +00:00

Revert "The config is now always saved on exit."

This reverts commit 6b03d1dd9e80069fef12e9f5043b627bfea99f17.
This commit is contained in:
Simon van Bernem 2025-04-28 17:01:29 +02:00
parent 6b03d1dd9e
commit 132a4ba320

View File

@ -274,6 +274,7 @@ static bool SaveConfig()
static void SetupScaleCallback( float scale )
{
s_config.userScale = scale;
if ( s_config.saveUserScale ) SaveConfig();
RunOnMainThread( []{ SetupDPIScale(); }, true );
}
@ -429,8 +430,6 @@ int main( int argc, char** argv )
backend.Show();
backend.Run();
SaveConfig();
if( loadThread.joinable() ) loadThread.join();
if( updateThread.joinable() ) updateThread.join();
if( updateNotesThread.joinable() ) updateNotesThread.join();