[Bug]: Cannot access a disaposad icon
App version
3.1.0
Describe the bug
OS: Windows 11 Pro 25H2
When the computer is coming back from hibernation/sleep, it is showing an error pop-up as follows.
See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text ************** System.ObjectDisposedException: Cannot access a disposed object. Object name: 'Icon'. at System.Windows.Forms.NotifyIcon.UpdateIcon(Boolean showIconInTray) at RunCat365.RunCat365ApplicationContext.FetchSystemInfo(CPUInfo cpuInfo, MemoryInfo memoryInfo, List`1 storageValue) in D:\build\RunCat365\RunCat365\Program.cs:line 183 at RunCat365.RunCat365ApplicationContext.FetchTick(Object state, EventArgs e) in D:\build\RunCat365\RunCat365\Program.cs:line 209 at System.Windows.Forms.NativeWindow.Callback(HWND hWnd, MessageId msg, WPARAM wparam, LPARAM lparam)
************** Loaded Assemblies ************** System.Private.CoreLib Assembly Version: 9.0.0.0 Location:
RunCat 365 Assembly Version: 3.1.0.0 Location:
How to reproduce
- Put the computer in sleep or hibernation
- Start the computer and log in
Expected behavior
Not popping up error dialog
Screenshots
Check List
- [x] Uninstalled App.
- [x] Re-launched your computer.
- [x] Checked that no similar issues already exist.
Known issue, but thank you for reporting it anyway
- #236
- #249
It seems like the Check List is not working. Is the Issue Template effective?
Sorry, I did not realize that it was the same bug as the past one.