105040 Fix 窗口关闭时注销事件的错误

This commit is contained in:
lihanbo 2025-01-11 12:29:08 +08:00
parent 4fec37dfb1
commit 9a76f9e60a
1 changed files with 1 additions and 1 deletions

View File

@ -181,7 +181,7 @@ namespace Sinvo.EplanHpD.Plugin.WPFUI
{ {
//DrawPDFHelper.ClearCache(); //DrawPDFHelper.ClearCache();
WeakReferenceMessenger.Default.Unregister<CommonMessage>("RowDetailsVisibility"); WeakReferenceMessenger.Default.Unregister<CommonMessage>("RowDetailsVisibility");
WeakReferenceMessenger.Default.Unregister<CommonMessage>("OpenDraw"); WeakReferenceMessenger.Default.Unregister<OpenDrawMessage>("OpenDraw");
MotorExcelHelper.Instance.CloseStream(); MotorExcelHelper.Instance.CloseStream();
} }