Merge pull request #59 from ailin-nemui/ilog-domain

fix crash when accessing settings during shutdown

(cherry picked from commit cc411a1be0)
This commit is contained in:
ailin-nemui 2022-02-06 01:11:41 +01:00 committed by Ailin Nemui
commit 27046adabe
2 changed files with 5 additions and 1 deletions

View file

@ -928,6 +928,7 @@ void settings_deinit(void)
g_hash_table_foreach(settings, (GHFunc) settings_hash_free, NULL);
g_hash_table_destroy(settings);
settings = NULL;
if (mainconfig != NULL) config_close(mainconfig);
}