diff options
Diffstat (limited to 'composer/e-msg-composer.c')
-rw-r--r-- | composer/e-msg-composer.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c index 262119faa1..e5d710ceaa 100644 --- a/composer/e-msg-composer.c +++ b/composer/e-msg-composer.c @@ -1311,7 +1311,6 @@ do_exit (EMsgComposer *composer) exit_dialog_cb (button, composer); } else { - autosave_manager_unregister (am, composer); gtk_widget_destroy (GTK_WIDGET (composer)); } } @@ -1872,6 +1871,8 @@ destroy (GtkObject *object) composer = E_MSG_COMPOSER (object); + autosave_manager_unregister (am, composer); + CORBA_exception_init (&ev); if (composer->config_db) { |