src/vs/workbench/services/workingCopy/common/abstractFileWorkingCopyManager.ts/BaseFileWorkingCopyManager/remove
class BaseFileWorkingCopyManager:	protected remove(resource: URI): void {

		// Dispose any existing listener
		const disposeListener = this.mapResourceToDisposeListener.get(resource);
		if (disposeListener) {
			dispose(disposeListener);
			this.mapResourceToDisposeListener.delete(resource);
		}

		// Remove from our working copy map
		this.mapResourceToWorkingCopy.delete(resource);
	}