Make shutdown hook optional
Issue #150
closed
We're using shutdown hooks in our application to send out certain packets just before closing the connection.
However, Babbler's shutdown hook is ran simultaneously and just closes the connection immediately. Unfortunately, there is no specific ordering of shutdown tasks in the JVM.
For an application that handles shutdown gracefully itself, it would be useful to disable Babbler's built-in shutdown behavior.
Comments (6)
-
repo owner -
reporter Any plans to have this fixed? Would it help it we submit a PR ?
-
repo owner - changed status to resolved
-
repo owner It's fixed on master branch now. Will probably pull it into 0.8 branch for the 0.8.1 release. But sorry, I have no ETA for it now.
-
repo owner -
repo owner - changed status to closed
Fix version 0.8.1
- Log in to comment
Makes sense, thanks.