Skip to content

Commit

Permalink
Make sure Bare.exit() is bound
Browse files Browse the repository at this point in the history
  • Loading branch information
kasperisager committed May 8, 2024
1 parent ac703e9 commit 49c1f7b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/bare.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ class Bare extends EventEmitter {

this.suspended = false
this.exiting = false

this.exit = this.exit.bind(this)
}

get platform () {
Expand Down

0 comments on commit 49c1f7b

Please sign in to comment.