mirror of
https://github.com/danog/code-server.git
synced 2024-11-30 04:39:46 +01:00
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
Block a user