Download Latest Version v6.3.0 source code.zip (1.3 MB) Google Add to Preferred Sources
Home / v6.1.1
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2026-07-22 935 Bytes
v6.1.1 source code.tar.gz 2026-07-22 1.2 MB
v6.1.1 source code.zip 2026-07-22 1.3 MB
Totals: 3 Items   2.5 MB 0

Patch Changes

  • #680 3fdd82f Thanks @kkhys! - Disposing of a client event listener twice no longer removes an unrelated listener

    The unsubscribe function returned by client.on spliced at indexOf(listener) without checking for -1, so removing an already-removed listener would splice(-1, 1) and silently drop the most recently registered listener of the same event. This happens in practice without any double-dispose by the user: emits iterate over a copy of the listeners, so a one-shot internal listener that already unlistened itself during a nested emit (e.g. when client.terminate() is called from within a closed/error listener) is re-invoked from the copy and unlistens again, knocking out registered closed/error listeners.

Source: README.md, updated 2026-07-22