fix(legacy): release hosted module resources safely
This commit is contained in:
@@ -13,6 +13,10 @@
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing)
|
||||
{
|
||||
DisposeDragResources();
|
||||
}
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
|
||||
Reference in New Issue
Block a user