Skip to content
This repository was archived by the owner on Aug 21, 2025. It is now read-only.

Commit 790637c

Browse files
authored
unref server (#22)
1 parent c669dcb commit 790637c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/commands/login/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ export default class LoginIndex extends Command {
107107
res.writeHead(500, {'Content-Type': 'text/plain'})
108108
res.end('An error occurred during authentication.')
109109
} finally {
110+
server.unref()
110111
server.close()
111112
}
112113
})

0 commit comments

Comments
 (0)