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

Fix blocking IO in JsonTextWriter.CloseAsync and add IAsyncDisposable #2695

Merged
merged 3 commits into from
Jun 16, 2022

Conversation

JamesNK
Copy link
Owner

@JamesNK JamesNK commented Jun 16, 2022

Fixes #2694

@JamesNK JamesNK merged commit 2015b0d into master Jun 16, 2022
@JamesNK JamesNK deleted the jamesnk/disposeasync branch June 16, 2022 09:32
@@ -37,7 +37,20 @@
namespace Newtonsoft.Json
{
public abstract partial class JsonWriter
#if HAVE_ASYNC_DISPOABLE

Choose a reason for hiding this comment

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

HAVE_ASYNC_DISPOABLE -> HAVE_ASYNC_DISPOSABLE

sousapedro pushed a commit to sousapedro/Newtonsoft.Json-for-Unity that referenced this pull request Feb 21, 2023
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.

Add IAsyncDisposable to JsonReader and JsonWriter
2 participants