aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/session.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/session.c b/src/session.c
index 647d9f939..40daf1b66 100644
--- a/src/session.c
+++ b/src/session.c
@@ -688,6 +688,8 @@ session_remove_window (Session *session,
g_object_unref (window);
+ session_save (session, SESSION_CRASHED);
+
/* autodestroy of the session, necessay to avoid
* conflicts with the nautilus view */
if (session->priv->windows == NULL)