Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New class ERXShutdownHook to use in place of plain Threads with Runtime.addShutdownHook #329

Merged
merged 2 commits into from
Nov 26, 2012

Conversation

maiksd
Copy link
Contributor

@maiksd maiksd commented Nov 23, 2012

This can be used to register shutdown hooks instead of directly using Runtime.addShutdownHook with plain Thread objects. The main benefit is a final line in the logfile that is ensured to be written as the last thing the process does at all before terminating, to be used as a clear indicator that the process is gone.

Details are in the javadoc.

darkv added a commit that referenced this pull request Nov 26, 2012
New class ERXShutdownHook to use in place of plain Threads with Runtime.addShutdownHook
@darkv darkv merged commit f2f306b into wocommunity:integration Nov 26, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants