Skip to content

Commit

Permalink
fix(server): close _ssrCompatModuleRunner on server close
Browse files Browse the repository at this point in the history
  • Loading branch information
bluwy committed Nov 26, 2024
1 parent 71d5d7b commit 78234e6
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 78234e6

Please sign in to comment.