diff --git a/src/Store.js b/src/Store.js index d97f7a3..134b2b7 100644 --- a/src/Store.js +++ b/src/Store.js @@ -171,7 +171,7 @@ class Store { await this.options.onClose(this) } - await this._opqueue.onEmpty() + await this._opqueue.onIdle() // Replicator teardown logic this._replicator.stop()