Skip to content

Commit

Permalink
fix: accidental unhandled rejection
Browse files Browse the repository at this point in the history
  • Loading branch information
jedwards1211 committed Jun 24, 2021
1 parent 777c9af commit 824d382
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ class Delay {
)
this.effect.catch(() => {})
this.ready = lastInvocationDone.then(() => this.effect)
this.ready.catch(() => {})
}

flush() {
Expand Down

0 comments on commit 824d382

Please sign in to comment.