1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

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

@ -171,6 +171,9 @@ main (int argc,
smGD.smState = IN_PROCESS;
smGD.programName = strdup (argv[0]);
/* JET - By default, we always want to leave when SmExit() is called. */
smGD.ExitComplete = True;
/*
* We report some errors before we call the DtInitialize procedure.
* The Dt initialize procedure sets this name. If we report