src/vs/workbench/services/workingCopy/electron-sandbox/workingCopyHistoryService.ts/NativeWorkingCopyHistoryService/onWillShutdown
class NativeWorkingCopyHistoryService:	private onWillShutdown(e: WillShutdownEvent): void {

		// Dispose the scheduler...
		this.storeAllScheduler.dispose();
		this.storeAllCts.dispose(true);

		// ...because we now explicitly store all models
		e.join(this.storeAll(e.token), { id: 'join.workingCopyHistory', label: localize('join.workingCopyHistory', "Saving local history") });
	}