Workaround for bug in MSL and CWGUSI interaction that stopped the

"don't close window on exit" feature to work.
This commit is contained in:
Jack Jansen 1997-05-07 15:48:54 +00:00
parent 3089b7eead
commit e44545fc0b
1 changed files with 7 additions and 0 deletions

View File

@ -454,6 +454,13 @@ PyMac_Exit(status)
SIOUXSettings.standalone = 1;
SIOUXSettings.autocloseonquit = 0;
SIOUXSetTitle("\p\307terminated\310");
#ifdef USE_MSL
/*
** Temporary workaround: autocloseonquit clearing does not
** currently work for the MSL/GUSI combo.
*/
while(getchar() > 0);
#endif
}
else
SIOUXSettings.autocloseonquit = 1;