Skip to content
This repository was archived by the owner on Mar 24, 2026. It is now read-only.

Don't reuse shared message instance - #7290

Merged
NateBrady23 merged 2 commits into
TechEmpower:masterfrom
sebastienros:patch-6
Apr 11, 2022
Merged

NateBrady23 merged 2 commits into
TechEmpower:masterfrom
sebastienros:patch-6

Conversation

@sebastienros

Copy link
Copy Markdown
Contributor

I believe the specs forbid reusing the same instance for json serialization. It's also wrong code-wise since concurrent requests could assign different strings to the same instance.

I believe the specs forbid reusing the same instance for json serialization. It's also wrong code-wise since concurrent requests could assign different strings to the same instance.
@sebastienros

sebastienros commented Apr 11, 2022 •

Copy link
Copy Markdown
Contributor Author

/cc @redkale

@NateBrady23

Copy link
Copy Markdown
Member

Thank you @sebastienros !

@NateBrady23
NateBrady23 merged commit 45b9784 into TechEmpower:master Apr 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants