Skip to content

Commit 9b4c410

Browse files
authored
fix(server): close _ssrCompatModuleRunner on server close (#18784)
1 parent 71d5d7b commit 9b4c410

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/vite/src/node/server/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -674,6 +674,7 @@ export async function _createServer(
674674
),
675675
),
676676
closeHttpServer(),
677+
server._ssrCompatModuleRunner?.close(),
677678
])
678679
server.resolvedUrls = null
679680
},

0 commit comments

Comments
 (0)