We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da87388 commit d6eb0ebCopy full SHA for d6eb0eb
backend/core/src/main/java/org/sonarsource/sonarlint/core/flight/recorder/FlightRecorderService.java
@@ -97,10 +97,19 @@ public void launch() {
97
98
@PreDestroy
99
public void shutdown() {
100
+ if (!enabled) {
101
+ return;
102
+ }
103
+
104
sendInfoEvent("Flight recorder stopped");
105
}
106
107
public void captureThreadDump() {
108
109
+ LOG.debug("Ignoring thread dump capture request, not in a flight recording session");
110
111
112
113
var threadDump = new StringBuilder();
114
var threadBean = ManagementFactory.getThreadMXBean();
115
Arrays.stream(threadBean.dumpAllThreads(true, true))
0 commit comments