Ticket #905 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

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

comment:1 Changed 5 years ago by ArcRiley

  • Owner set to ArcRiley

I need to sort this out next week

comment:2 Changed 5 years ago by ArcRiley

  • Status changed from new to closed
  • Resolution set to fixed

Verified by reporter to be fixed by this weekends last changes (currently [860])

Note: See TracTickets for help on using tickets.