Skip to content

Conversation

@scottf
Copy link
Contributor

@scottf scottf commented Dec 16, 2025

No description provided.

}
if (!writer.queue(msg)) {
options.getErrorListener().messageDiscarded(this, msg);
makeCallback(() -> options.getErrorListener().messageDiscarded(this, msg));
Copy link
Contributor Author

Choose a reason for hiding this comment

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

the error listener should never be called directly, it always should be done in a task, which makeCallback handles

@scottf scottf marked this pull request as ready for review December 16, 2025 17:57
@aricart aricart self-requested a review December 16, 2025 18:02
@scottf scottf merged commit be90538 into main Dec 16, 2025
5 checks passed
@scottf scottf deleted the do-in-callback branch December 16, 2025 19:38
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