> what about
>
> http://gist.github.com/319889
>
> ???
>
> regards
> Kristian

Let me try this again, having read your gist more carefully :)

Looks like a Java shutdown hook would lets us clean up resources
properly on a SIGINT or SIGHUP:
https://gist.github.com/78daf7e68f8bb9801305

And this seems fine with my Java developer hat on.

However, wearing my Ruby developer hat it feels a little kludgy given
in MRI all I can cleanup in a simple ensure block.

My aesthetic preference aside, I think a Java shutdown hook coupled
with a list of resources that need cleaning up might work so we'll
explore this.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to