Skip to content
This repository has been archived by the owner on Sep 30, 2023. It is now read-only.

Commit

Permalink
Merge pull request #91 from tabcat/fix/close_onIdle
Browse files Browse the repository at this point in the history
onEmpty -> onIdle
  • Loading branch information
aphelionz authored Apr 11, 2020
2 parents 1b628b6 + 7502cb4 commit 649ee15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Store.js
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 649ee15

Please sign in to comment.