aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/e-shell.c')
-rw-r--r--shell/e-shell.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/shell/e-shell.c b/shell/e-shell.c
index 4e651453a4..51ab69c8c1 100644
--- a/shell/e-shell.c
+++ b/shell/e-shell.c
@@ -1377,6 +1377,9 @@ e_shell_quit(EShell *shell)
e_shell_window_save_defaults (p->data);
}
can_quit = !es_run_quit(shell);
+
+ /* Mark a safe quit by destroying the lock. */
+ e_file_lock_destroy ();
}
return can_quit;