From 2b2481957b0a160d5f6e27e674d0a1a6f25e94fa Mon Sep 17 00:00:00 2001 From: Alexey Pegov Date: Tue, 3 Aug 2010 19:58:16 +0400 Subject: [PATCH] dispose CommittedChangesPanel --- .../vcs/changes/committed/CommittedChangesViewManager.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/committed/CommittedChangesViewManager.java b/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/committed/CommittedChangesViewManager.java index 9d5b5cafa560..907df4296519 100644 --- a/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/committed/CommittedChangesViewManager.java +++ b/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/committed/CommittedChangesViewManager.java @@ -24,6 +24,7 @@ package com.intellij.openapi.vcs.changes.committed; import com.intellij.openapi.application.ApplicationManager; import com.intellij.openapi.project.Project; +import com.intellij.openapi.util.Disposer; import com.intellij.openapi.vcs.*; import com.intellij.openapi.vcs.changes.ui.ChangesViewContentProvider; import com.intellij.openapi.vcs.versionBrowser.CommittedChangeList; @@ -89,6 +90,7 @@ public class CommittedChangesViewManager implements ChangesViewContentProvider { public void disposeContent() { myVcsManager.removeVcsListener(myVcsListener); myConnection.disconnect(); + Disposer.dispose(myComponent); myComponent = null; }