1 Jul 2007 08:20
Re: Not Quiting
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.
RSS Feed