Re: [PATCH] JavaHL: Support commit callback across method invocations

2012-06-26 Thread Hyrum K Wright
On Sun, Jun 24, 2012 at 8:31 PM, Vladimir Berezniker wrote: > In case of delta editor, commit callback is provided at the time of the editor > creation and used during the close_edit() call. For that there is a need to > keep a global reference to the underlying java object so that it does not get

[PATCH] JavaHL: Support commit callback across method invocations

2012-06-24 Thread Vladimir Berezniker
In case of delta editor, commit callback is provided at the time of the editor creation and used during the close_edit() call. For that there is a need to keep a global reference to the underlying java object so that it does not get GCed meanwhile. Attached please find the patch that adds such cap