-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exception : Collection has changed while changing it #1
Comments
Hi, Thanks for raising this - I haven't seen this issue come up before, do you have a reliable way/example code to reproduce this so I could see it in action? Thanks for posting your fix, I'll look at getting that put in & a new Nuget package published! Cheers |
I have wrapped Eventbus in my own class so I don't have to propagate RedBus code in mine.
|
Hi, Ah ok - I am currently doing the same as you except I am not using a lock, if I get some time I will try and reproduce this issue this week. Hadn't thought of License - MIT / Feel free to use it however and wherever you want, I will add a license to the repo later on. Cheers |
Apologies for taking so long on this one - just pushed the fix to master now. New NuGet package is available aswell (1.0.4) - Cheers! |
Hi,
Thanks for your work, but there is an issue in EventBus, where you use a for-each to alter a collection.
I have fixed it by using a normal for instead:
Regards :)
The text was updated successfully, but these errors were encountered: