fix: 收敛旧模块资源释放与诊断

This commit is contained in:
2026-08-15 10:13:08 +08:00
parent 222ae3c08a
commit c49015d390
60 changed files with 4218 additions and 409 deletions
+7 -2
View File
@@ -14,9 +14,14 @@ namespace Lskj.Control
/// <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 EventHandler(OnReportPrintAfter);
if (components != null)
{
components.Dispose();
}
}
base.Dispose(disposing);
}