Disable python event handling in mainloop (discovered by Tasselli Marco)
This commit is contained in:
parent
fda3aceb71
commit
e504fa289f
|
@ -11,7 +11,9 @@ class CGITest(AEServer, MiniApplication):
|
||||||
self.installaehandler('aevt', 'oapp', self.open_app)
|
self.installaehandler('aevt', 'oapp', self.open_app)
|
||||||
self.installaehandler('aevt', 'quit', self.quit)
|
self.installaehandler('aevt', 'quit', self.quit)
|
||||||
self.installaehandler('WWW\275', 'sdoc', self.cgihandler)
|
self.installaehandler('WWW\275', 'sdoc', self.cgihandler)
|
||||||
|
oldparams = MacOS.SchedParams(0, 0)
|
||||||
self.mainloop()
|
self.mainloop()
|
||||||
|
apply(MacOS.SchedParams, oldparams)
|
||||||
|
|
||||||
def quit(self, **args):
|
def quit(self, **args):
|
||||||
self.quitting = 1
|
self.quitting = 1
|
||||||
|
|
Loading…
Reference in New Issue