Skip to content
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

Deadlock risk while register sticky event #700

Open
tangnan526 opened this issue May 13, 2022 · 0 comments
Open

Deadlock risk while register sticky event #700

tangnan526 opened this issue May 13, 2022 · 0 comments

Comments

@tangnan526
Copy link

When we register event listener by sticky, there is a risk of deadlock.
Because when register a sticky event, it may invoke the event handler method, if the event handler method tries to acquire a lock to do something, at the same time another thread already acquires the lock and try to post an event, deadlock happend.

If we can optimize the register code to avoid this risk, that will be great!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant