mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 12:23:37 +02:00
fix crash when accessing settings during shutdown
This commit is contained in:
parent
53187de6a2
commit
5f29b35fbe
2 changed files with 5 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue