[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Not Quiting



Luke Paireepinart wrote:
Lenard Lindstrom wrote:
Normally it does. So I wonder if IDLE doe something unusual like intercept SystemExit. If the shell is restarted with a crtl-F6 the pygame window closes.
Yeah, I agree that it's an IDLE problem, not a pygame bug.




To make it work best with IDLE, also call 'pygame.event.pump()' every time through the main loop. Between that and calling 'pygame.quit()' at the end, all works fine.

--Kamilche