src/vs/platform/userDataProfile/electron-main/userDataTransientProfilesHandler.ts/UserDataTransientProfilesHandler/constructor
class UserDataTransientProfilesHandler:	constructor(
		@ILifecycleMainService lifecycleMainService: ILifecycleMainService,
		@IUserDataProfilesMainService private readonly userDataProfilesService: IUserDataProfilesMainService,
	) {
		super();
		this._register(lifecycleMainService.onWillLoadWindow(e => {
			if (e.reason === LoadReason.LOAD) {
				this.unsetTransientProfileForWorkspace(e.window.openedWorkspace ?? 'empty-window');
			}
		}));
		this._register(lifecycleMainService.onBeforeCloseWindow(window => this.unsetTransientProfileForWorkspace(window.openedWorkspace ?? 'empty-window')));
	}