Bug 96728 - Leak: MemoryViewSynchronizationService remains as listener of IMemoryBlockManager
Summary: Leak: MemoryViewSynchronizationService remains as listener of IMemoryBlockMan...
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.1 RC1   Edit
Assignee: Darin Swanson CLA
QA Contact:
URL:
Whiteboard:
Keywords: performance
Depends on:
Blocks:
 
Reported: 2005-05-25 19:43 EDT by Darin Swanson CLA
Modified: 2005-06-06 23:33 EDT (History)
1 user (show)

See Also:


Attachments
patch to org.eclipse.debug.ui (1.41 KB, patch)
2005-05-26 10:46 EDT, Samantha Chan CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Darin Swanson CLA 2005-05-25 19:43:31 EDT
N20050525

For each open / close of the Memory view, a MemoryViewSynchronizationService 
is leaked as each instance is registered as a listener with the 
IMemoryBlockManager

Also noticed that the MemoryViewSynchronizationService.shutdown is not 
referenced.
Comment 1 Samantha Chan CLA 2005-05-26 10:46:36 EDT
Created attachment 21829 [details]
patch to org.eclipse.debug.ui

Added code to remove listener when the sync service shuts down.
Added code in the Memory View to shut down the sync servcie when the view is
disposed.
Comment 2 Samantha Chan CLA 2005-05-26 10:52:53 EDT
Darin -
Please apply patch... thanks...
Samantha
Comment 3 Darin Wright CLA 2005-05-26 10:59:23 EDT
Applied patch.
Comment 4 Darin Wright CLA 2005-05-26 10:59:38 EDT
Please verify, Darin (S).
Comment 5 Darin Swanson CLA 2005-06-06 23:33:41 EDT
Verified.