rsocket-broker/rsocket-broker-client

DataBuffer need to be released in BrokerFrameDecoder.decode()

kevinat opened this issue · 0 comments

In Spring's codec manner, it seems that the dataBuffer needs to be explicitly released after it is consumed by decoder.

I do seen ResourceLeakDetector report buffer leaks in logs. When I add DataBufferUtils.release(buffer) into BrokerFrameDecoder.decode(), no leak report shows.