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

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



There is a problem with Pygame's exit routines in version 1.8.1 and earlier. It
could lead to segfaults. It was addressed in Pygame 1.9 and hopefully the bug
fix will solve this problem as well.

Lenard


Quoting Thadeus Burgess <thadeusb@xxxxxxxxxxxx>:

> 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 <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
> >>
> >>
> >>
> >
> 


-- 
Lenard Lindstrom
<len_l@xxxxxxxxx>