added #warning #35 [BUG] Rare ObjectDisposedException, todo: fix root cause

removed  Application.DoEvents();  not necessary
increased version to 260
This commit is contained in:
Markus Hofknecht 2020-03-14 14:25:26 +01:00
parent 346b0b69cd
commit fff542e91c
3 changed files with 8 additions and 3 deletions

View file

@ -265,7 +265,6 @@ namespace SystemTrayMenu
}
}
Application.DoEvents();
MouseWheel.Invoke();
}

View file

@ -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);

View file

@ -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")]