Salut,
John ROM wrote:
> Hi Jeanfrancois,
>
> So I really now think that I just should and do a :
> (in com.sun.grizzly.filter.MessageDispatcher)
>
> final Context copyContext=workerCtx.getController().pollContext(workerCtx.getSelectionKey());
> workerCtx.copyTo(copyContext);
>
> // and then when I am finished
> //
> copyContext.getController().returnContext(copyContext);
What about this proposal:
When calling suspend/resume, we never recycled the object. If an
implementation wants to recycle those, we can either add a new API like
recycleAndReturn(), which will internally call the
controller.returnContext().
What peoples thinks?
A+
-- Jeanfrancois
>
> Many Greetings John
>
>
>