jonaskohl / CapsLockIndicator

A small utility that indicates the state of the Num lock, Caps lock and Scroll lock key.
https://cli.jonaskohl.de/
Apache License 2.0
338 stars 43 forks source link

System.ObjectDisposedException: Não é possível acessar um objeto descartado. #54

Closed wesleyrodrigues closed 3 years ago

wesleyrodrigues commented 4 years ago

Error when pressing caps lock.

System.ObjectDisposedException: Não é possível acessar um objeto descartado.
Nome do objeto: 'IndicatorOverlay'.
em System.Windows.Forms.Control.CreateHandle()
em System.Windows.Forms.Form.CreateHandle()
em System.Windows.Forms.Control.get_Handle()
em CapsLockIndicatorV3.IndicatorOverlay..ctor(String content, Int32 timeoutInMs, Color bgColour, Color fgColour, Color bdColour, Font font, IndicatorDisplayPosition position, Int32 indOpacity)
em CapsLockIndicatorV3.MainForm.ShowOverlay(String message, Boolean isActive)
em CapsLockIndicatorV3.MainForm.UpdateTimerTick(Object sender, EventArgs e)
em System.Windows.Forms.Timer.OnTick(EventArgs e)
em System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
em System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

image

jonaskohl commented 4 years ago

This is a known issue, and I'm already working on a fix!

jonaskohl commented 3 years ago

Should be fixed in 3.9.0.0. If not, please reopen.