fix(legacy): release hosted module resources safely
This commit is contained in:
@@ -13,6 +13,10 @@
|
||||
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing)
|
||||
{
|
||||
ReleaseLookupFormForDispose();
|
||||
}
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
|
||||
Reference in New Issue
Block a user