Exit handling with status code #73

merged 2 commits into from Feb 6, 2013


None yet

2 participants

joonty commented Feb 5, 2013

Hi, here's the code as discussed in #72. Cheers

joonty added some commits Feb 5, 2013
@joonty joonty Move Object#exit method to at_exit callback
This ensures that it will be called when ruby exits, e.g. when
SystemExit is raised instead of exit() being called. Also, it doesn't
stop other exit callbacks that the user may have set.
@joonty joonty Stop Glib from printing SystemExit stack trace
The Glib2 library registers an exception callback, and prints the stack
trace for ALL exceptions. Override this method so that SystemExits are
re-raised and not debugged.
@ashbb ashbb merged commit 228a979 into ashbb:master Feb 6, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment