Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Rennie2011-08-08 17:54:16 +0000
committerMichael Rennie2011-08-08 17:54:16 +0000
commitab30cb7cccae259b35a0428c360875aa4cc23b1a (patch)
tree7247f3af38e5e9f4da6b0004892e88a565183b00 /org.eclipse.debug.core/core
parent7b907dd35e627bed12b02f158ad4dacbcffe7e99 (diff)
downloadeclipse.platform.debug-ab30cb7cccae259b35a0428c360875aa4cc23b1a.tar.gz
eclipse.platform.debug-ab30cb7cccae259b35a0428c360875aa4cc23b1a.tar.xz
eclipse.platform.debug-ab30cb7cccae259b35a0428c360875aa4cc23b1a.zip
Bug 352315 - NPE in BreakpointManager.removeBreakpointListener() during shutdown
Diffstat (limited to 'org.eclipse.debug.core/core')
-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