Ticket #905 (closed defect: fixed)
soy.actions.Quit() hangs, but sys.exit works.
| Reported by: | etherealmachine | Owned by: | ArcRiley |
|---|---|---|---|
| Priority: | Medium | Milestone: | beta3 |
| Component: | soy.actions | Version: | Trunk |
| Keywords: | actions, quit, close | Cc: |
Description
The basic problem is that
key = soy.controllers.Keyboard(win)
key['q'] = soy.actions.Quit()
doesn't work.
Working
screen = soy.Screen()
def quit():
sys.exit(0)
win = soy.Window(screen, 'Particle Swarm', background=soy.colors.White())
key = soy.controllers.Keyboard(win)
key['q'] = quit
The above works, but segfaults maybe every 6-7 runs.
see also: ticket:901
etherealmachine@…
Change History
Note: See
TracTickets for help on using
tickets.




I need to sort this out next week