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:
parent
3089b7eead
commit
e44545fc0b
|
@ -454,6 +454,13 @@ PyMac_Exit(status)
|
||||||
SIOUXSettings.standalone = 1;
|
SIOUXSettings.standalone = 1;
|
||||||
SIOUXSettings.autocloseonquit = 0;
|
SIOUXSettings.autocloseonquit = 0;
|
||||||
SIOUXSetTitle("\p\307terminated\310");
|
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
|
else
|
||||||
SIOUXSettings.autocloseonquit = 1;
|
SIOUXSettings.autocloseonquit = 1;
|
||||||
|
|
Loading…
Reference in New Issue