fix: 收敛旧控件资源与后台线程生命周期

This commit is contained in:
2026-08-11 14:12:18 +08:00
parent f1ce6ff658
commit a9c986f9d5
20 changed files with 1145 additions and 380 deletions
+7 -2
View File
@@ -13,9 +13,14 @@
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
if (disposing)
{
components.Dispose();
Lskj.Control.Model.PrintUtil.OnAfterPrint -=
new System.EventHandler(OnReportPrintAfter);
if (components != null)
{
components.Dispose();
}
}
base.Dispose(disposing);
}