We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 38b512c + 1e92597 commit bcc0395Copy full SHA for bcc0395
1 file changed
lib/OnyxSnapshotCache.ts
@@ -33,7 +33,7 @@ class OnyxSnapshotCache {
33
34
constructor() {
35
this.snapshotCache = new Map();
36
- this.selectorIDMap = new Map();
+ this.selectorIDMap = new WeakMap();
37
this.selectorIDCounter = 0;
38
this.cacheKeyRefCounts = new Map();
39
}
0 commit comments