# HG changeset patch # User Mark Doliner # Date 1091487178 0 # Node ID ce434e22edf25b3d0d299b2f441fa6287603d11c # Parent 2316cb7a115fe16e6e5e693f22c82d4b3c0e55d5 [gaim-migrate @ 10497] gaim_signals_uninit() needsta be called after the plugins are destroyed. ops->quit() also gave me a little warning when I called it after gaim_signals_uninit() committer: Tailor Script diff -r 2316cb7a115f -r ce434e22edf2 src/core.c --- a/src/core.c Mon Aug 02 22:21:36 2004 +0000 +++ b/src/core.c Mon Aug 02 22:52:58 2004 +0000 @@ -109,16 +109,12 @@ g_return_if_fail(core != NULL); - ops = gaim_core_get_ui_ops(); - /* The self destruct sequence has been initiated */ gaim_signal_emit(gaim_get_core(), "quitting"); /* Transmission ends */ gaim_connections_disconnect_all(); - gaim_debug(GAIM_DEBUG_INFO, "main", "Unloading all plugins\n"); - /* Save .xml files, remove signals, etc. */ gaim_ssl_uninit(); gaim_pounces_uninit(); @@ -129,9 +125,14 @@ gaim_accounts_uninit(); gaim_prefs_uninit(); - gaim_signals_uninit(); + gaim_debug(GAIM_DEBUG_INFO, "main", "Unloading all plugins\n"); + gaim_plugins_destroy_all(); - gaim_plugins_destroy_all(); + ops = gaim_core_get_ui_ops(); + if (ops != NULL && ops->quit != NULL) + ops->quit(); + + gaim_signals_uninit(); if (core->ui != NULL) { g_free(core->ui); @@ -141,10 +142,6 @@ g_free(core); _core = NULL; - - if (ops != NULL && ops->quit != NULL) - ops->quit(); - } gboolean