-
Notifications
You must be signed in to change notification settings - Fork 223
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
Indexing error due to multiple removeHandler #55
Comments
In a test case of many subscribe and many subscribeOnce, bus.removeHandler tries to remove a handler with index out of range. Add out-of-range outputs in
Test case in
Test result:
|
Would it be better to use Maybe like this:
|
This project seems to not be maintained any more. I'm just looking around the issues here. Maybe there's a maintained fork... |
In line 141
func Publish
i
andhandler
are ranged incopyHandlers
while remove operation actions inbus.handlers
. 🤨The text was updated successfully, but these errors were encountered: