We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fb3189a commit ad23569Copy full SHA for ad23569
org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/HotCodeReplaceErrorDialog.java
@@ -161,7 +161,10 @@ public void handleDebugEvents(DebugEvent[] events) {
161
for (DebugEvent event : events) {
162
if (event.getSource() instanceof JDIThread de) {
163
if (de.isTerminated()) {
164
- Display.getDefault().asyncExec(() -> this.close());
+ Display.getDefault().asyncExec(() -> {
165
+ this.close();
166
+ DebugPlugin.getDefault().removeDebugEventListener(this);
167
+ });
168
}
169
170
0 commit comments