Merged fix for 86137 from trunk
[modest] / src / modest-tny-account-store.c
index 1db79ca..f655ded 100644 (file)
@@ -860,6 +860,8 @@ modest_tny_account_store_finalize (GObject *obj)
                priv->session = NULL;
        }
 
+       camel_shutdown ();
+
        G_OBJECT_CLASS(parent_class)->finalize (obj);
 }
 
@@ -1169,7 +1171,6 @@ modest_tny_account_store_alert (TnyAccountStore *self,
                retval = TRUE;
        }
 
-       g_debug ("%s: error code %d (%s", __FUNCTION__, error->code, error->message);
        
        if (prompt)
                g_free (prompt);