mikaelgrev opened a new issue, #2770: URL: https://github.com/apache/fory/issues/2770
### Search before asking - [x] I had searched in the [issues](https://github.com/apache/fory/issues) and found no similar issues. ### Version 0.12.3 ### Component(s) Java ### Minimal reproduce step Start the app and exit implicitly by letting the start thread end (i.e. not call System.exit(..)). ### What did you expect to see? The JVM exits immediately. ### What did you see instead? The JVM waits exactly 5 seconds before exiting. ### Anything Else? Hello all and thanks for a great library. We have successfully replaced Protostuff with Fory. In ForyJitCompilerThreadFactory the Threads created are of non-daemon type. This means that they will keep the JVM alive even if there are not active threads. Please set daemon to true in ForyJitCompilerThreadFactory. The alternative is to add a shutdown hook and clean up the executor, but that's messier and not the recommended way. ### Are you willing to submit a PR? - [ ] I'm willing to submit a PR! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
