Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 337120

Summary: ArtifactManager not stop listening to TigerstripeWorkspaceNotifier deleting project
Product: [Technology] Tigerstripe Reporter: Valentin Yerastov <valentin>
Component: CoreAssignee: Project Inbox <tigerstripe.core-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: yuri
Version: unspecified   
Target Milestone: 0.5M0   
Hardware: PC   
OS: All   
Whiteboard:

Description Valentin Yerastov CLA 2011-02-14 08:51:46 EST
Build Identifier: 

ArtifactManager implements ITigerstripeChangeListener, in creating himself adds as a listener to TigerstripeWorkspaceNotifier, but when you remove the project is not going unsubscribe from TigerstripeWorkspaceNotifier. This causes a memory leak. Need to consider the life cycle ArtifactManager and associate it with the life cycle of the project. Such as adding a method to dispose() in ArtifactManager and call it when a project is removed.

Reproducible: Always
Comment 1 Yuri Strot CLA 2011-02-21 02:49:57 EST
Applied patch from bug 337117.