Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--org.eclipse.debug.core/core/org/eclipse/debug/internal/core/BreakpointManager.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/BreakpointManager.java b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/BreakpointManager.java
index 4275ff851..4d631c226 100644
--- a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/BreakpointManager.java
+++ b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/BreakpointManager.java
@@ -333,9 +333,9 @@ public class BreakpointManager implements IBreakpointManager, IResourceChangeLis
public void shutdown() {
getWorkspace().removeResourceChangeListener(this);
getWorkspace().removeResourceChangeListener(fPostChangeListener);
- fBreakpointListeners = null;
- fBreakpointsListeners = null;
- fBreakpointManagerListeners = null;
+ fBreakpointListeners.clear();
+ fBreakpointsListeners.clear();
+ fBreakpointManagerListeners.clear();
if(fImportParticipants != null) {
fImportParticipants.clear();
fImportParticipants = null;

Back to the top