diff --git a/lib/core.js b/lib/core.js index ca648931..58cc13ff 100644 --- a/lib/core.js +++ b/lib/core.js @@ -101,13 +101,12 @@ class AutocoreSession extends EventEmitter { this.activeRequests = [] this.valueEncoding = valueEncoding || null + this.globalCache = this.base.globalCache this._source = source this._index = source.sessions.push(this) - 1 this._snapshot = snapshot - this.globalCache = this.base.globalCache - this.ready().catch(safetyCatch) }