Skip to content

Commit

Permalink
fix(temp): fix dispose (#209)
Browse files Browse the repository at this point in the history
  • Loading branch information
MirrorCY authored Dec 22, 2023
1 parent acd5acf commit 6444d35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/server-temp/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class TempServer {
})

ctx.on('ready', () => this.start())
ctx.on('dispose', () => this.start())
ctx.on('dispose', () => this.stop())
}

async start() {
Expand Down

0 comments on commit 6444d35

Please sign in to comment.