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 <http://www.brainyquote.com/quotes/authors/h/h_l_mencken.html>
- "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 <unlucky...@gmail.com> wrote:

> Have you tried
>
> if event.type == pygame.QUIT:
>  sys.exit()
>
> On Tue, Apr 28, 2009 at 1:22 AM, Thadeus Burgess <thade...@thadeusb.com>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
>>
>>
>>
>

Reply via email to