From 46024f8310225ae08732dc2f6eb1cbe5871e33ad Mon Sep 17 00:00:00 2001 From: Andrea Cavalli Date: Thu, 28 Oct 2021 23:49:01 +0200 Subject: [PATCH] Remove explicit agents --- .../tdlibsession/remoteclient/TDLibRemoteClient.java | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/main/java/it/tdlight/tdlibsession/remoteclient/TDLibRemoteClient.java b/src/main/java/it/tdlight/tdlibsession/remoteclient/TDLibRemoteClient.java index 2ca6901..cedd4c4 100644 --- a/src/main/java/it/tdlight/tdlibsession/remoteclient/TDLibRemoteClient.java +++ b/src/main/java/it/tdlight/tdlibsession/remoteclient/TDLibRemoteClient.java @@ -47,11 +47,6 @@ public class TDLibRemoteClient implements AutoCloseable { private final Set membersAddresses; private final AtomicReference clusterManager = new AtomicReference<>(); - public static boolean runningFromIntelliJ() { - return System.getProperty("java.class.path").contains("idea_rt.jar") - || System.getProperty("idea.test.cyclic.buffer.size") != null; - } - public TDLibRemoteClient(@Nullable SecurityInfo securityInfo, String masterHostname, String netInterface, @@ -65,10 +60,6 @@ public class TDLibRemoteClient implements AutoCloseable { this.port = port; this.membersAddresses = membersAddresses; - if (enableAsyncStacktraces && !runningFromIntelliJ()) { - //noinspection ReactorAutomaticDebugger - ReactorDebugAgent.init(); - } if (enableAsyncStacktraces && enableFullAsyncStacktraces) { RxJava2Debug.enableRxJava2AssemblyTracking(new String[]{"it.tdlight.utils", "it.tdlight.tdlibsession"}); }