From 3c798d4a2dfe52063faf8d48a1210d7703f6608f Mon Sep 17 00:00:00 2001 From: Maksim Zuev Date: Tue, 14 Jul 2026 15:40:24 +0200 Subject: [PATCH] [debugger] IJPL-250104 Fix leaking recursive run content descriptors (cherry picked from commit 34e0d7c12eb6d1efbda7ae65f3ed7e1bfe7f7fc2) IJ-CR-214132 GitOrigin-RevId: 4d6a0e824ce4e391333c1d7c382900c599ffc0a9 --- .../src/com/intellij/execution/ui/RunContentDescriptor.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/platform/execution/src/com/intellij/execution/ui/RunContentDescriptor.java b/platform/execution/src/com/intellij/execution/ui/RunContentDescriptor.java index 453e9fa3900f..8cda6c1700bd 100644 --- a/platform/execution/src/com/intellij/execution/ui/RunContentDescriptor.java +++ b/platform/execution/src/com/intellij/execution/ui/RunContentDescriptor.java @@ -60,7 +60,7 @@ public class RunContentDescriptor implements Disposable { private RunContentDescriptorId myId = null; private final AnAction @NotNull [] myRestartActions; - private final @Nullable Runnable myActivationCallback; + private @Nullable Runnable myActivationCallback; private String myRunConfigurationName; private String myRunConfigurationTypeId; @@ -161,6 +161,8 @@ public class RunContentDescriptor implements Disposable { myComponent = null; myProcessHandler = null; myContent = null; + myActivationCallback = null; + myRunnerLayoutUi = null; } /**