src/vs/workbench/contrib/files/common/dirtyFilesIndicator.ts/DirtyFilesIndicator/registerListeners
class DirtyFilesIndicator:	private registerListeners(): void {

		// Working copy dirty indicator
		this._register(this.workingCopyService.onDidChangeDirty(workingCopy => this.onWorkingCopyDidChangeDirty(workingCopy)));

		// Lifecycle
		this.lifecycleService.onDidShutdown(() => this.dispose());
	}