From: Jack Jansen Date: Wed, 7 May 1997 15:48:54 +0000 (+0000) Subject: Workaround for bug in MSL and CWGUSI interaction that stopped the X-Git-Tag: v1.5a1~45 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e44545fc0bfbd1b1303382016b9d44a3b2fd4bcf;p=python Workaround for bug in MSL and CWGUSI interaction that stopped the "don't close window on exit" feature to work. --- diff --git a/Mac/Python/macmain.c b/Mac/Python/macmain.c index bc02171ed8..9e8fbc57b8 100644 --- a/Mac/Python/macmain.c +++ b/Mac/Python/macmain.c @@ -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;