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

Dispatcher with no default handler sometimes has NPE during close if messages are still coming in #841

Merged
merged 4 commits into from
Jan 30, 2023

Conversation

scottf
Copy link
Contributor

@scottf scottf commented Jan 30, 2023

}
// A dispatcher can have a null defaultHandler. You can't subscribe without a handler,
// but messages might come in while the dispatcher is being closed or after unsubscribe
// and the [non-default] ]handler has already been removed from subscriptionHandlers
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

double ] character, typo?

@scottf scottf merged commit 76beedd into main Jan 30, 2023
@scottf scottf deleted the dispatcher-npe branch January 30, 2023 18:47
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

Successfully merging this pull request may close these issues.

2 participants