Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

Question: App closing event #273

Open

Description

@AJFaraday

Is there a way to have an ensure-style block at the end of a shoes app to fire an event on closing the window?

Activity

  1. ccoupe commented on Apr 8, 2015

    @ccoupe

    Sort of. Maybe. Over at the Shoes 3.2 issues there is shoes/shoes3#26 which shows the window events and their problems. Not mentioned there is that if you call exit() none of the gui events fire.

  2. AJFaraday commented on Apr 9, 2015

    @AJFaraday
    Author

    So what I'm getting from that is that I should probably try the newer, possibly less finished version of Shoes?

    (Incidentally, my app is launching another app, and I need to close it to avoid zombie processes (so UI actions aren't really the problem)

  3. ccoupe commented on Apr 9, 2015

    @ccoupe

    Shoes 3.2 is a lot more refined than 3.1 (the repo you reported this bug to ) and it works better than it ever did. Shoes 4 is the java/swt version that isn't completely nailed down.

    To close/kill a Ruby spawned process (not really a Shoes process/window) is highly platform specific. I suggest you file a new bug report at https://github.com/Shoes3/shoes3 with some additional details (like the platform you are using) or if your running Shoes4 then the issue tracker is https://github.com/shoes/shoes4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions