mirror of
https://github.com/coder/code-server.git
synced 2025-07-31 05:54:15 +08:00
Kill VS Code when process exits
This is to ensure it doesn't hang around.
This commit is contained in:
@ -102,10 +102,6 @@ const main = async (args: DefaultedArgs): Promise<void> => {
|
||||
throw new Error("Please pass in a password via the config file or $PASSWORD")
|
||||
}
|
||||
|
||||
ipcMain.onDispose(() => {
|
||||
// TODO: register disposables
|
||||
})
|
||||
|
||||
const [app, server] = await createApp(args)
|
||||
const serverAddress = ensureAddress(server)
|
||||
await register(app, server, args)
|
||||
|
Reference in New Issue
Block a user