The ByteBuffer isn't a java.nio.ByteBuffer.  It is actually a wrapper
that exists in MINA.  When MINA finishes with the buffer (either
writes it or the protocol is finished with it), it will release it.

On 9/18/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> I am surprised to see that the ByteBuffer used by CumulativeProtocolDecoder is
> not explicitly released.
> 
> Given the ByteBuffer javadoc, I would assume that it should be.
> 
> Am I wrong ?
> 
> Regards,
> 
> J-F
> 
> 


-- 
Justin Rudd
"Get the facts first.  You can distort them later."
   - Mark Twain
http://seagecko.org/thoughts/

Reply via email to