1b82474286
Motivation: 2c99fc0f1290c65685c5036fdc9884921823ad7d introduced a change that eagly recycles the queue. Unfortunally it did not correct protect against re-entrance which can cause a NPE. Modifications: - Correctly protect against re-entrance by adding null checks - Add unit test Result: Fixes https://github.com/netty/netty/issues/9319.