mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
ensure dumps stopped
GitOrigin-RevId: 8508f06ae681611ea40a82958da9bbd6617fb9a5
This commit is contained in:
committed by
intellij-monorepo-bot
parent
5b1d06754f
commit
96453b2009
@@ -44,6 +44,9 @@ public class IdeaFreezeReporter {
|
||||
@Override
|
||||
public void uiFreezeStarted() {
|
||||
if (Registry.is("freeze.reporter.enabled") && !DebugAttachDetector.isAttached()) {
|
||||
if (myDumpTask != null) {
|
||||
myDumpTask.cancel();
|
||||
}
|
||||
myDumpTask = new DumpTask();
|
||||
}
|
||||
}
|
||||
@@ -91,6 +94,7 @@ public class IdeaFreezeReporter {
|
||||
}
|
||||
}
|
||||
}
|
||||
myDumpTask = null;
|
||||
myCurrentDumps.clear();
|
||||
myStacktraceCommonPart = null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user