Skip to content

Commit

Permalink
Merge pull request #100 from svennergr/patch-1
Browse files Browse the repository at this point in the history
changed type of rootContextCache to WeakMap
  • Loading branch information
mweststrate authored Sep 24, 2019
2 parents 9ab5501 + 465d567 commit 132a653
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Context.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { GUARDED_NOOP, once, invariant, isAssignableTo } from "../utils/utils"

var rootContextCache = new Map()
var rootContextCache = new WeakMap()

export default function Context(parentContext, modelSchema, json, onReadyCb, customArgs) {
this.parentContext = parentContext
Expand Down

0 comments on commit 132a653

Please sign in to comment.