From e504fa289fcb4590afb4078d3267a7247f57eac5 Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Wed, 30 Sep 1998 09:11:51 +0000 Subject: [PATCH] Disable python event handling in mainloop (discovered by Tasselli Marco) --- Mac/Demo/cgi/realcgitest.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Mac/Demo/cgi/realcgitest.py b/Mac/Demo/cgi/realcgitest.py index ca846bfec25..5b45ed457e0 100644 --- a/Mac/Demo/cgi/realcgitest.py +++ b/Mac/Demo/cgi/realcgitest.py @@ -11,7 +11,9 @@ def __init__(self): self.installaehandler('aevt', 'oapp', self.open_app) self.installaehandler('aevt', 'quit', self.quit) self.installaehandler('WWW\275', 'sdoc', self.cgihandler) + oldparams = MacOS.SchedParams(0, 0) self.mainloop() + apply(MacOS.SchedParams, oldparams) def quit(self, **args): self.quitting = 1