-
Notifications
You must be signed in to change notification settings - Fork 5
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
Does bindListeners() has to be recalled when a worker dies? #9
Comments
Yes the handler does have to be re-registered, no I think you probably shouldn't call it again. Check out the relevant line here which will afaik cause multiple handlers to be registered to the same event on each existing thread. If you wanted to remedy this, you could split it into a |
Could you provide an example? My code is very default:
|
In PR #13 there was a singe bindListener(worker, instance=null) function added to overcome that problem. |
If yes, is it no problem to just call it again?
The text was updated successfully, but these errors were encountered: