Commit 9511261f authored by Anna Henningsen's avatar Anna Henningsen Committed by James M Snell
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 014feecc
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