mirror of
https://github.com/Hofknecht/SystemTrayMenu.git
synced 2024-06-02 18:44:56 +12:00
added #warning #35 [BUG] Rare ObjectDisposedException, todo: fix root cause
removed Application.DoEvents(); not necessary increased version to 260
This commit is contained in:
parent
346b0b69cd
commit
fff542e91c
|
@ -265,7 +265,6 @@ namespace SystemTrayMenu
|
|||
}
|
||||
}
|
||||
|
||||
Application.DoEvents();
|
||||
MouseWheel.Invoke();
|
||||
}
|
||||
|
||||
|
|
|
@ -90,6 +90,12 @@ namespace SystemTrayMenu
|
|||
timerFadeHalf.Stop();
|
||||
timerFadeIn.Start();
|
||||
}
|
||||
#warning #35 [BUG] Rare ObjectDisposedException, todo: fix root cause
|
||||
else if (form.IsDisposed)
|
||||
{
|
||||
new Logger(nameof(FadeForm)).Warn(
|
||||
$"{Environment.StackTrace.ToString()}");
|
||||
}
|
||||
else
|
||||
{
|
||||
ShowInactiveTopmost(form);
|
||||
|
|
|
@ -31,5 +31,5 @@ using System.Runtime.InteropServices;
|
|||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("0.9.1.259")]
|
||||
[assembly: AssemblyFileVersion("0.9.1.259")]
|
||||
[assembly: AssemblyVersion("0.9.1.260")]
|
||||
[assembly: AssemblyFileVersion("0.9.1.260")]
|
||||
|
|
Loading…
Reference in a new issue