mirror of
https://github.com/profanity-im/profanity.git
synced 2025-01-03 14:57:42 -05:00
Remove all from resource hash table, rather than destroy
This commit is contained in:
parent
dc30eeacad
commit
ec124a552c
@ -283,7 +283,7 @@ connection_free_resources(void)
|
||||
FREE_SET_NULL(saved_details.altdomain);
|
||||
FREE_SET_NULL(saved_account.name);
|
||||
FREE_SET_NULL(saved_account.passwd);
|
||||
g_hash_table_destroy(available_resources);
|
||||
g_hash_table_remove_all(available_resources);
|
||||
chat_sessions_clear();
|
||||
presence_free_sub_requests();
|
||||
xmpp_conn_release(jabber_conn.conn);
|
||||
|
Loading…
Reference in New Issue
Block a user