|
|
956363 |
diff --git a/src/e-util/e-collection-account-wizard.c b/src/e-util/e-collection-account-wizard.c
|
|
|
956363 |
index 49b1ac4a96..84ccd3fd53 100644
|
|
|
956363 |
--- a/src/e-util/e-collection-account-wizard.c
|
|
|
956363 |
+++ b/src/e-util/e-collection-account-wizard.c
|
|
|
956363 |
@@ -1858,8 +1858,6 @@ collection_account_wizard_dispose (GObject *object)
|
|
|
956363 |
wizard->priv->store_passwords = NULL;
|
|
|
956363 |
}
|
|
|
956363 |
|
|
|
956363 |
- g_warn_if_fail (wizard->priv->running_result == NULL);
|
|
|
956363 |
-
|
|
|
956363 |
if (wizard->priv->running_result) {
|
|
|
956363 |
e_simple_async_result_complete_idle (wizard->priv->running_result);
|
|
|
956363 |
g_clear_object (&wizard->priv->running_result);
|
|
|
956363 |
diff --git a/src/e-util/e-config-lookup.c b/src/e-util/e-config-lookup.c
|
|
|
956363 |
index d0eff38ef2..3b68fa6876 100644
|
|
|
956363 |
--- a/src/e-util/e-config-lookup.c
|
|
|
956363 |
+++ b/src/e-util/e-config-lookup.c
|
|
|
956363 |
@@ -277,6 +277,11 @@ config_lookup_dispose (GObject *object)
|
|
|
956363 |
|
|
|
956363 |
e_config_lookup_cancel_all (config_lookup);
|
|
|
956363 |
|
|
|
956363 |
+ if (config_lookup->priv->pool) {
|
|
|
956363 |
+ g_thread_pool_free (config_lookup->priv->pool, TRUE, TRUE);
|
|
|
956363 |
+ config_lookup->priv->pool = NULL;
|
|
|
956363 |
+ }
|
|
|
956363 |
+
|
|
|
956363 |
g_mutex_lock (&config_lookup->priv->property_lock);
|
|
|
956363 |
|
|
|
956363 |
g_clear_object (&config_lookup->priv->run_cancellable);
|
|
|
956363 |
@@ -305,7 +310,6 @@ config_lookup_finalize (GObject *object)
|
|
|
956363 |
EConfigLookup *config_lookup = E_CONFIG_LOOKUP (object);
|
|
|
956363 |
|
|
|
956363 |
g_slist_free_full (config_lookup->priv->results, g_object_unref);
|
|
|
956363 |
- g_thread_pool_free (config_lookup->priv->pool, TRUE, FALSE);
|
|
|
956363 |
g_mutex_clear (&config_lookup->priv->property_lock);
|
|
|
956363 |
|
|
|
956363 |
/* Chain up to parent's method. */
|