Skip to content

Commit f9a115d

Browse files
committed
Can't release the controls from DockableToolwindowPresenter.
1 parent b48356f commit f9a115d

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

RetailCoder.VBE/UI/DockableToolwindowPresenter.cs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -130,16 +130,6 @@ protected virtual void Dispose(bool disposing)
130130
}
131131
if (disposing && _window != null)
132132
{
133-
if (_userControlObject != null)
134-
{
135-
((_DockableWindowHost)_userControlObject).Dispose();
136-
}
137-
_userControlObject = null;
138-
139-
if (_userControl != null)
140-
{
141-
_userControl.Dispose();
142-
}
143133
// cleanup unmanaged resource wrappers
144134
_window.Close();
145135
_window.Release(true);

0 commit comments

Comments
 (0)