Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpelder2007-12-05 12:04:50 -0500
committerpelder2007-12-05 12:04:50 -0500
commitb2d8bc7009893e74a432691981a60876698053d1 (patch)
tree79e564ab0b1b6cdc5b024725c3656378645712a4
parent34bba50b813c5f550572724b688b0f08b8fe046e (diff)
downloadorg.eclipse.jet-b2d8bc7009893e74a432691981a60876698053d1.tar.gz
org.eclipse.jet-b2d8bc7009893e74a432691981a60876698053d1.tar.xz
org.eclipse.jet-b2d8bc7009893e74a432691981a60876698053d1.zip
[212016] Leak: JET2Context is being held by JET execution Console view
-rw-r--r--plugins/org.eclipse.jet/src/org/eclipse/jet/internal/launch/JETProcess.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/org.eclipse.jet/src/org/eclipse/jet/internal/launch/JETProcess.java b/plugins/org.eclipse.jet/src/org/eclipse/jet/internal/launch/JETProcess.java
index b93d1a9..3d58394 100644
--- a/plugins/org.eclipse.jet/src/org/eclipse/jet/internal/launch/JETProcess.java
+++ b/plugins/org.eclipse.jet/src/org/eclipse/jet/internal/launch/JETProcess.java
@@ -50,7 +50,7 @@ public class JETProcess extends PlatformObject implements IProcess
private final String id;
private final IResource resource;
private final IProgressMonitor monitor;
- private final JET2Context context;
+ private JET2Context context;
private JETStreamsProxy streamsProxy;
private final Map attributes = new HashMap();
@@ -173,6 +173,7 @@ public class JETProcess extends PlatformObject implements IProcess
context.logError(e.getLocalizedMessage());
}
terminated = true;
+ context = null;
}
}

Back to the top