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

Re: [pygame] pygame.quit() not working after upgrade to python 2.6



Yes, using just sys.exit() hangs the game up.

However, on other python programs (not using pygame) using sys.exit() does not hang the application up, so it is something to do with pygame.

-Thadeus

http://thadeusb.com


H. L. Mencken  - "It is even harder for the average ape to believe that he has descended from man."

On Tue, Apr 28, 2009 at 12:59 AM, Brian Song <unlucky777@xxxxxxxxx> wrote:
Have you tried
 
if event.type == pygame.QUIT:
 sys.exit()

On Tue, Apr 28, 2009 at 1:22 AM, Thadeus Burgess <thadeusb@xxxxxxxxxxxx> wrote:
Is there any reason pygame.quit() hangs the application up?

I am running python 2.6 on Ubuntu.

It works on python 2.6 in windows.

What, if any information could I provide to help track down the culprite?

-Thadeus

http://thadeusb.com