Commit e504fa28 authored by Jack Jansen's avatar Jack Jansen

Disable python event handling in mainloop (discovered by Tasselli Marco)

parent fda3aceb
......@@ -11,7 +11,9 @@ class CGITest(AEServer, MiniApplication):
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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment