From 8844ee6cb81da2ea2e7f1d99e314c84fd2aaf65a Mon Sep 17 00:00:00 2001 From: Robert Nagy <ronagy@icloud.com> Date: Tue, 25 Jun 2024 20:28:57 +0200 Subject: [PATCH] fixup --- lib/dispatcher/dispatcher.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/dispatcher/dispatcher.js b/lib/dispatcher/dispatcher.js index 9ce5c20b780..4f23e6e3485 100644 --- a/lib/dispatcher/dispatcher.js +++ b/lib/dispatcher/dispatcher.js @@ -59,6 +59,7 @@ class ComposedDispatcher extends Dispatcher { this[kOnDisconnect] = (...args) => this.emit('disconnect', ...args) this[kOnConnectionError] = (...args) => this.emit('connectionError', ...args) + // TODO (fix): These must be weak references... this.#dispatcher .on('drain', this[kOnDrain]) .on('connect', this[kOnConnect])