From: stefanbjarni Date: Sat, 2 Jul 2005 23:40:39 +0000 (+0000) Subject: Added a comment about fixing a live leak later. X-Git-Url: http://secure.phpeclipse.com Added a comment about fixing a live leak later. --- diff --git a/net.sourceforge.phpeclipse.debug.core/src/net/sourceforge/phpdt/internal/debug/core/model/PHPDebugTarget.java b/net.sourceforge.phpeclipse.debug.core/src/net/sourceforge/phpdt/internal/debug/core/model/PHPDebugTarget.java index d5e58f6..4a9dccb 100644 --- a/net.sourceforge.phpeclipse.debug.core/src/net/sourceforge/phpdt/internal/debug/core/model/PHPDebugTarget.java +++ b/net.sourceforge.phpeclipse.debug.core/src/net/sourceforge/phpdt/internal/debug/core/model/PHPDebugTarget.java @@ -45,6 +45,7 @@ public class PHPDebugTarget implements IPHPDebugTarget, ILaunchListener, IDebugE this.launch = launch; this.process = process; this.threads = new PHPThread[0]; + // TODO XXX remove breakpoint listener at termination to avoid live leak IBreakpointManager manager= DebugPlugin.getDefault().getBreakpointManager(); manager.addBreakpointListener(this); DebugPlugin.getDefault().addDebugEventListener(this);