Unverified Commit 31328788 authored by Anna Henningsen's avatar Anna Henningsen Committed by Shelley Vohr
Browse files

src: fix `size` underflow in CallbackQueue

Only decrease the size when actually removing items.

PR-URL: https://github.com/nodejs/node/pull/34662
Fixes: https://github.com/nodejs/node/issues/34657
Refs: https://github.com/nodejs/node/pull/34572


Reviewed-By: default avatarGabriel Schulhof <gabriel.schulhof@intel.com>
Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
parent c4d373b8
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment