diff --git a/src/Store.js b/src/Store.js index 6eb8978..769eaf7 100644 --- a/src/Store.js +++ b/src/Store.js @@ -170,7 +170,7 @@ class Store { await this.options.onClose(this) } - await this._opqueue.onEmpty() + await this._opqueue.onIdle() // Replicator teardown logic this._replicator.stop()