sutherland icon indicating copy to clipboard operation
sutherland copied to clipboard

Freeze due to stack overflow

Open codefrau opened this issue 7 months ago • 0 comments

I got a "Maximum call stack size exceeded" exception in

get(e)
{
    var i;
    if (this.writes.has(e))
        return this.writes.get(e);
    let t = this.parentValueCache.deref();
    if (t != null && t.has(e))
        return this.parentValueCache.deref().get(e);
    const r = (i = this.parent) == null ? void 0 : i.get(e);     // <== Maximum call stack size exceeded
    return t || (t = new WeakMap, this.parentValueCache = new WeakRef(t)), t.set(e, r), r
}

codefrau avatar May 16 '25 14:05 codefrau