Closed alandipert closed 6 years ago
This doesn't really fix it as the thread still exists but doesn't prevent the JVM from shutting down. It would be better for the timer to be stopped for proper cleanup.
Closing because it's not a real fix. For now I'm working around it by calling System.exit(0)
in my application until we can figure it out.
I don't have a full understanding of ReadingThread or why the Timer's task isn't completing, but daemonizing the timer's thread fixes the hang for me.