File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
core/src/main/java/com/microsoft/applicationinsights/internal/shutdown Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ public synchronized void run() {
9797 // For making sure the JVM exists ASAP.
9898 return ;
9999 }
100-
100+ InternalLogger . INSTANCE . info ( "Shutting down Applciation Insights" );
101101 try {
102102 stopChannels ();
103103 stopStoppables ();
@@ -219,7 +219,6 @@ private SDKShutdownAction getShutdownAction() {
219219 try {
220220 shutdownAction = new SDKShutdownAction ();
221221 Thread t = new Thread (shutdownAction , SDKShutdownActivity .class .getSimpleName ()+"-ShutdownHook" );
222- t .setDaemon (true );
223222 Runtime .getRuntime ().addShutdownHook (t );
224223 } catch (Exception e ) {
225224 InternalLogger .INSTANCE .error ("Error while adding shutdown hook in getShutDownThread call" );
You can’t perform that action at this time.
0 commit comments