fix(control): 修复金额单元格关闭阶段异常

This commit is contained in:
2026-08-15 16:00:10 +08:00
parent 7d8ad77f5c
commit fc5faab65d
4 changed files with 125 additions and 20 deletions
+12 -2
View File
@@ -13,9 +13,19 @@
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
if (disposing)
{
components.Dispose();
if (cellHelper != null)
{
cellHelper.Dispose();
cellHelper = null;
}
class2_0 = null;
class2_1 = null;
if (components != null)
{
components.Dispose();
}
}
base.Dispose(disposing);
}