Skip to content

Conversation

@VelvetToroyashi
Copy link
Contributor

See commit details - this bug was brought to my attention when attempting to monkey-patch Remora/Remora.Discord#338

Flushes the writer, which forces it to commit to the backing store - in the case of small JSON payloads, this causes an edge-case bug wherein the writer hasn't written anything, and thus this method will attempt to deserialize nothing, which throws an exception.
@Nihlus Nihlus merged commit 75844c3 into Remora:main Sep 4, 2024
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