aboutsummaryrefslogtreecommitdiffstats
path: root/src/session.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/session.c')
-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)