src/vs/platform/driver/electron-main/driver.ts/Driver/getWindowIds
class Driver:	async getWindowIds(): Promise<number[]> {
		return this.windowsMainService.getWindows()
			.map(w => w.id)
			.filter(id => this.registeredWindowIds.has(id) && !this.reloadingWindowIds.has(id));
	}