libp2p / js-libp2p

The JavaScript Implementation of libp2p networking stack.
https://libp2p.io
Other
2.27k stars 435 forks source link

fix: ensure abort listeners are removed from queue jobs #2482

Closed achingbrain closed 3 months ago

achingbrain commented 3 months ago

Fixes a bug where aborted queue jobs were not removing abort signal listeners properly.

Also removes the aborted job from the queue immediately to reduce size and allow garbage collection sooner.

Change checklist