Skip to content

Comments

Ensure that the watcher thread is a daemon thread#30

Open
robhanlon22 wants to merge 1 commit intowkf:masterfrom
robhanlon22:patch-1
Open

Ensure that the watcher thread is a daemon thread#30
robhanlon22 wants to merge 1 commit intowkf:masterfrom
robhanlon22:patch-1

Conversation

@robhanlon22
Copy link

Calling .setDaemon with true on the watcher thread allows the JVM to exit even if the thread is still active, so it doesn't have to be explicitly shut down on process exit.

Calling `.setDaemon` with `true` on the watcher thread allows the JVM to exit even if the thread is still active, so it doesn't have to be explicitly shut down on process exit.
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.

1 participant