Right.  I call pygame.quit() and then sys.exit() and it works fine.

On 7/1/07, René Dudfield <[EMAIL PROTECTED]> wrote:

ah weird.

pygame should be able to clean itself up if you call sys.exit() ... I
think.

So that's probably a pygame bug.



On 7/1/07, Kamilche <[EMAIL PROTECTED]> wrote:
> Ian Mallett wrote:
> > By code I mean any program that works otherwise, by it crashes I mean
I
> > have to quit using the taskmanager and endtask, and by how I quit I
mean
> >
> > keystate = pygame.key.get_pressed()
> > for event in pygame.event.get():
> >   if event.type == pygame.QUIT or keystate[K_ESCAPE]:
> >     sys.exit()
> >
>
> You should definitely 'pygame.quit()' before you quit the program.
>

Reply via email to