Skip to content

Commit

Permalink
Shutdown should be fixed since v2.1.2 (JabRef#5993)
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan-kolb authored Mar 6, 2020
1 parent ac295cb commit 548d33c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/main/java/org/jabref/Globals.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
import com.google.common.base.StandardSystemProperty;
import com.microsoft.applicationinsights.TelemetryClient;
import com.microsoft.applicationinsights.TelemetryConfiguration;
import com.microsoft.applicationinsights.internal.shutdown.SDKShutdownActivity;
import com.microsoft.applicationinsights.telemetry.SessionState;
import kong.unirest.Unirest;

Expand Down Expand Up @@ -105,9 +104,6 @@ private static void stopTelemetryClient() {
getTelemetryClient().ifPresent(client -> {
client.trackSessionState(SessionState.End);
client.flush();

//FIXME: Workaround for bug https://github.com/Microsoft/ApplicationInsights-Java/issues/662
SDKShutdownActivity.INSTANCE.stopAll();
});
}

Expand Down

0 comments on commit 548d33c

Please sign in to comment.