I always include 'import sys' at the top, so that after I call pygame.quit(), I can call sys.exit() which can sometimes stop the program from hanging.
On Fri, Apr 12, 2013 at 8:04 AM, Mathieu Dubois <[email protected]>wrote: > Hello, > > I am using Pygame (1.9.1release) under Ubuntu (12.04). I have noticed that > when sometimes when I quit my program (with pygame.quit()) the Ibus (which > is related to input handling) component crashes. > > My program is essentially a psychological experiment: it displays some > stimuli and wait for user input. If the user presses the 'ESC' key, the > program raises an exception. The pygame.quit() function is called in the > finally block. > > I wanted to know if this is known issue or if I am doing something wrong. > I can try to work on a MWE if needed. > > Thanks in advance, > Mathieu > -- "The validity of internet quotes are getting sketchy nowadays" -Abraham Lincoln
