src/vs/base/common/errors.ts/ErrorHandler/_removeListener
class ErrorHandler:	private _removeListener(listener: ErrorListenerCallback): void {
		this.listeners.splice(this.listeners.indexOf(listener), 1);
	}