Fixed bug: Icon disposed#241
Conversation
|
I haven't been able to reproduce the actual issue locally, so I can't be certain if this has fixed the issue. @mor39a Do you have any ideas on how to reproduce the issue? |
I never had this bug, so I have no idea how to reproduce it. However, I will check it out. |
|
Hi @Kyome22, what version of Windows are you using? I did some research, but I wasn't able to replicate it (I'm using Windows 10). Issues #236 and #233 reported using Windows 11 24H2. It's possible that the different way updates are handled means we can't replicate the error. Since neither of us has been able to replicate the bug, I suggest asking the issue #236 reporter to test it whenever we make progress. It might be a bit tedious, but I can't think of any other solution. Although I'm not really sure, I suspect that the I will continue investigating and keep you posted. |
| if (icons.Count <= current) current = 0; | ||
| notifyIcon.Icon = icons[current]; | ||
| var icon = icons[current]; | ||
| if (icon is not null && !icon.IsDisposed) |
There was a problem hiding this comment.
Where is this defined? Icon doesn't have this property and doesn't compile
|
I was able to reproduce this issue while debugging commit fdf0100 on the main branch, so I'm reporting it here. System.ObjectDisposedException
|


Context of Contribution
Summary of the Proposal
#236
Checklist