fix: close vscodeServer on server close if defined

This commit is contained in:
Joe Previte 2021-10-04 12:06:12 -07:00
parent 672038c6af
commit 8136769b66
No known key found for this signature in database
GPG Key ID: 2C91590C6B742C24

View File

@ -162,7 +162,7 @@ export const register = async (
} }
server.on("close", () => { server.on("close", () => {
vscode.vscodeServer.close() vscode?.vscodeServer.close()
}) })
app.use(() => { app.use(() => {