Closed jozefizso closed 4 years ago
The TrayManu.Dispose() method is implemented with incorrect disposal logic.
TrayManu.Dispose()
The check if (IsDisposed) should be reversed to prevent execution of dispose method multiple times.
if (IsDisposed)
https://github.com/NetOfficeFw/NetOffice/blob/3b56a7420dab2d1a18d4b60ae8e12e728423cf1b/Source/Office/Tools/Contribution/TrayMenuUtils/TrayMenu.cs#L885-L896
The
TrayManu.Dispose()
method is implemented with incorrect disposal logic.The check
if (IsDisposed)
should be reversed to prevent execution of dispose method multiple times.https://github.com/NetOfficeFw/NetOffice/blob/3b56a7420dab2d1a18d4b60ae8e12e728423cf1b/Source/Office/Tools/Contribution/TrayMenuUtils/TrayMenu.cs#L885-L896