Remove ArgumentState "caching" that leaked memory deserialization. (#81473)
authormadelson <1269046+madelson@users.noreply.github.com>
Wed, 1 Feb 2023 16:53:17 +0000 (11:53 -0500)
committerGitHub <noreply@github.com>
Wed, 1 Feb 2023 16:53:17 +0000 (16:53 +0000)
commit047ea6a72ceb6a67bab0d3a46587975daeaecff6
tree7a2c6927b4000fe056def2de4c2967e2e43f3917
parent120b7215c9d029fccee94f46864494d79074a0eb
Remove ArgumentState "caching" that leaked memory deserialization. (#81473)

* Remove ArgumentState "caching" that leaked memory deserialization.

fix #80933

* Remove now-unused field
src/libraries/System.Text.Json/src/System/Text/Json/Serialization/ReadStack.cs
src/libraries/System.Text.Json/src/System/Text/Json/Serialization/ReadStackFrame.cs