src/vs/platform/windows/electron-main/windowImpl.ts/CodeWindow/onDidDeleteUntitledWorkspace
class CodeWindow:	private onDidDeleteUntitledWorkspace(workspace: IWorkspaceIdentifier): void {

		// Make sure to update our workspace config if we detect that it
		// was deleted
		if (this._config?.workspace?.id === workspace.id) {
			this._config.workspace = undefined;
		}
	}