mirror of https://github.com/coder/code-server.git
fix: close vscodeServer on server close if defined
This commit is contained in:
parent
672038c6af
commit
8136769b66
|
@ -162,7 +162,7 @@ export const register = async (
|
|||
}
|
||||
|
||||
server.on("close", () => {
|
||||
vscode.vscodeServer.close()
|
||||
vscode?.vscodeServer.close()
|
||||
})
|
||||
|
||||
app.use(() => {
|
||||
|
|
Loading…
Reference in New Issue