Skip to content

Commit

Permalink
fix(server): close _ssrCompatModuleRunner on server close (#18784)
Browse files Browse the repository at this point in the history
  • Loading branch information
bluwy authored Nov 26, 2024
1 parent 71d5d7b commit 9b4c410
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/vite/src/node/server/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -674,6 +674,7 @@ export async function _createServer(
),
),
closeHttpServer(),
server._ssrCompatModuleRunner?.close(),
])
server.resolvedUrls = null
},
Expand Down

0 comments on commit 9b4c410

Please sign in to comment.