dtsession: don't exit while processing your own session exit event.

Setup a global that protects against accidentally exiting
while doing session exit related housekeeping.
This commit is contained in:
Jon Trulson
2012-07-12 13:09:22 -06:00
parent 23930d1b35
commit dc5d68afba
4 changed files with 31 additions and 6 deletions

View File

@@ -336,6 +336,9 @@ typedef struct
specific display, otherwise False */
Boolean loggingOut; /* Is True if the current save is for
a logout; False otherwise. */
Boolean ExitComplete; /* JET - don't exit before we are ready... */
} GeneralData;