src/vs/base/common/event.ts/PrivateEventDeliveryQueue/clear
class PrivateEventDeliveryQueue:	override clear<T>(emitter: Emitter<T>): void {
		// Here we can just clear the entire linked list because
		// all elements are guaranteed to belong to this emitter
		this._queue.clear();
	}