Fixed a leak in a Netty ReferenceCounted resource in Gremlin Server.

This is essentially a backport from 3.2.2 on master of 9913d64cd1f9050b3d047b59dcea34ee8507d2dd which fixes a problem that happens if a Frame contained a Netty Bytebuf which is ReferenceCounted and that Frame did not write downstream because of an exception (perhaps during a transactional commit seemed like the likely place that would happen) then the Bytebuf would not get cleaned up properly and Netty would issue warnings. TINKERPOP-1375 CTR
3 files changed