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", () => {
|
server.on("close", () => {
|
||||||
vscode.vscodeServer.close()
|
vscode?.vscodeServer.close()
|
||||||
})
|
})
|
||||||
|
|
||||||
app.use(() => {
|
app.use(() => {
|
||||||
|
Reference in New Issue
Block a user