diff options
author | Felix Bellaby <felix@src.gnome.org> | 1999-02-12 14:53:24 +0000 |
---|---|---|
committer | Felix Bellaby <felix@src.gnome.org> | 1999-02-12 14:53:24 +0000 |
commit | 2aa6141aec61e7230a65ae011429a055c9ac74d9 (patch) | |
tree | 1e9a9e10837ca0512904533d600476491a2e5da1 /gnome-session/manager.c | |
parent | 874ebc8978c7af2e8368524efc62a3e41afc74b3 (diff) | |
download | gnome-session-2aa6141aec61e7230a65ae011429a055c9ac74d9.tar.gz |
clear the purged_list on shutdown so that any remaining purged clients are
* manager.c (update_save_state): clear the purged_list on shutdown so
that any remaining purged clients are discarded.
Diffstat (limited to 'gnome-session/manager.c')
-rw-r--r-- | gnome-session/manager.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gnome-session/manager.c b/gnome-session/manager.c index 62a5436a..17590746 100644 --- a/gnome-session/manager.c +++ b/gnome-session/manager.c @@ -47,7 +47,7 @@ GSList *pending_list = NULL; /* List of clients which have been purged from the pending list since they have failed to register within our timeout. */ -static GSList *purged_list = NULL; +GSList *purged_list = NULL; /* List of all live clients in the default state. */ GSList *live_list = NULL; @@ -620,6 +620,9 @@ update_save_state () CONCAT (live_list, save_finished_list); + if (shutting_down) + purged_list = NULL; + write_session (); save_state = SENDING_MESSAGES; |