You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A standalone application built with ApplicationInsights-Java hangs on exit. There is a thread pool (pool-1-thread-1) that is not shut down, and it prevents the application from exiting. This does not occur with version 2.0.2.
Attached is a trivial program that demonstrates the problem.
I found the issue and have a PR for it. In the meantime, @curtisporter1 , if this is blocking you, there is a workaround:
As the last statement in your main method, add SDKShutdownActivity.INSTANCE.stopAll();. This will stop all the threads in the SDK, including the one in question. If you have the SDKLogger enabled, you may see some exceptions, but this is expected.
A standalone application built with ApplicationInsights-Java hangs on exit. There is a thread pool (pool-1-thread-1) that is not shut down, and it prevents the application from exiting. This does not occur with version 2.0.2.
Attached is a trivial program that demonstrates the problem.
telemetrysample.zip
The text was updated successfully, but these errors were encountered: