mobxjs / serializr

Serialize and deserialize complex object graphs to and from JSON and Javascript classes
MIT License
766 stars 52 forks source link

changed type of rootContextCache to WeakMap #100

Closed svennergr closed 5 years ago

svennergr commented 5 years ago

Since there are some problems with garbage collection in the rootContextCache, it could easily mitigated by using a WeakMap.

coveralls commented 5 years ago

Coverage Status

Coverage remained the same at 91.107% when pulling bce720eef09168b852ddebe35851e7c6c6afd470 on svennergr:patch-1 into 9ab5501e7caee130bb2f67296bc9e259e4b64db8 on mobxjs:master.

mweststrate commented 5 years ago

Published as 1.5.2