Skip to content

Commit 370d07a

Browse files
committed
fix thing
1 parent f8bfe46 commit 370d07a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

epicshop/mcp-dev/dev.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ function startProxyServer(server) {
288288
/**
289289
* Setup graceful shutdown
290290
*/
291-
function setupGracefulShutdown() {
291+
function setupGracefulShutdown({ proxy, server }) {
292292
const closeListeners = closeWithGrace(
293293
{ delay: 500 },
294294
async function ({ signal, err }) {
@@ -317,7 +317,7 @@ async function main() {
317317
// Create and start proxy server
318318
const { server, proxy } = createProxy()
319319
startProxyServer(server)
320-
setupGracefulShutdown(server, proxy)
320+
setupGracefulShutdown({ server, proxy })
321321
} catch (error) {
322322
devServerProcess?.kill()
323323
inspectorProcess?.kill()

0 commit comments

Comments
 (0)