mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
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
1 changed files with 7 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue