From e44545fc0bfbd1b1303382016b9d44a3b2fd4bcf Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Wed, 7 May 1997 15:48:54 +0000 Subject: [PATCH] Workaround for bug in MSL and CWGUSI interaction that stopped the "don't close window on exit" feature to work. --- Mac/Python/macmain.c | 7 +++++++ 1 file changed, 7 insertions(+) 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; -- 2.50.1