This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 337120 - ArtifactManager not stop listening to TigerstripeWorkspaceNotifier deleting project
Summary: ArtifactManager not stop listening to TigerstripeWorkspaceNotifier deleting p...
Status: RESOLVED FIXED
Alias: None
Product: Tigerstripe (Archived)
Classification: Technology
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: 0.5M0   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-14 08:51 EST by Valentin Yerastov CLA
Modified: 2011-02-21 02:49 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.