mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-21 10:01:27 -07:00
Fix NotifyIcon not disposing properly
This commit is contained in:
parent
0b1898fb3b
commit
d8701b1c40
@ -57,7 +57,7 @@ namespace Bloxstrap.UI
|
||||
#region Context menu
|
||||
public void InitializeContextMenu()
|
||||
{
|
||||
if (_menuContainer is not null)
|
||||
if (_menuContainer is not null || _disposing)
|
||||
return;
|
||||
|
||||
App.Logger.WriteLine("NotifyIconWrapper::InitializeContextMenu", "Initializing context menu");
|
||||
|
Loading…
Reference in New Issue
Block a user