src/vs/base/common/event.ts/EventMultiplexer/unhook
class EventMultiplexer:	private unhook(e: { event: Event<T>; listener: IDisposable | null }): void {
		if (e.listener) {
			e.listener.dispose();
		}
		e.listener = null;
	}