Skip to content

Commit

Permalink
TEIIDDES-3161
Browse files Browse the repository at this point in the history
 * added dispose() method to remove notification listeners
  • Loading branch information
blafond committed Dec 5, 2017
1 parent e05a2f3 commit 29b2b20
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,12 @@ protected void createNotifyChangedListener(TreeViewer treeViewer) {
ModelUtilities.addNotifyChangedListener(this);
}

@Override
public void dispose() {
ModelUtilities.removeNotifyChangedListener(notificationHandler);
ModelUtilities.removeNotifyChangedListener(this);
}

@Override
public void createPartControl(Composite parent) {

Expand Down

0 comments on commit 29b2b20

Please sign in to comment.