D72069 has been committed quickly to remove build block. But as discussed in the revision, directly put InPQueue into function arguments of releaseNode is a quite cleaner approach.
LGTM, but it would be great to document the releaseNode function, including the parameters :)
It would be great if you could add a brief doc comment here, stating what the arguments mean.
IIRC the comments are only used for arguments with default values. I don't think it is necessary here.