Mon, 18 Oct 2021 02:44:32 -0500
Close the Debug Window on shutdown
Otherwise, it tries to read prefs after that subsystem is shut down.
| pidgin/libpidgin.c | file | annotate | diff | comparison | revisions |
--- a/pidgin/libpidgin.c Mon Oct 18 02:44:31 2021 -0500 +++ b/pidgin/libpidgin.c Mon Oct 18 02:44:32 2021 -0500 @@ -289,6 +289,9 @@ /* Uninit */ PurpleDebugUi *ui; + /* Be sure to close all windows that are not attached to anything + * (e.g., the debug window), or they may access things after they are + * shut down. */ pidgin_notify_uninit(); pidgin_commands_uninit(); pidgin_conversations_uninit(); @@ -298,6 +301,7 @@ pidgin_connection_uninit(); pidgin_accounts_uninit(); pidgin_xfers_uninit(); + pidgin_debug_window_hide(); ui = purple_debug_get_ui(); purple_debug_set_ui(NULL); g_object_unref(ui);