From 6444d35d8f54099080eea7011445ef409ca9ba7e Mon Sep 17 00:00:00 2001 From: 42 <37006258+MirrorCY@users.noreply.github.com> Date: Fri, 22 Dec 2023 11:26:09 +0800 Subject: [PATCH] fix(temp): fix dispose (#209) --- packages/server-temp/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/server-temp/src/index.ts b/packages/server-temp/src/index.ts index a5811eb9..9628ce7d 100644 --- a/packages/server-temp/src/index.ts +++ b/packages/server-temp/src/index.ts @@ -42,7 +42,7 @@ class TempServer { }) ctx.on('ready', () => this.start()) - ctx.on('dispose', () => this.start()) + ctx.on('dispose', () => this.stop()) } async start() {