[ImageJ-devel] when to close cursors, was Re: [fiji-devel] imglib coding style
Johannes Schindelin
Johannes.Schindelin at gmx.de
Thu Apr 15 06:35:40 CDT 2010
Hi,
On Thu, 15 Apr 2010, Stephan Preibisch wrote:
> right now the Cursor.close() call is not necessary for any of the
> containers. But it will be when we start paging data and each Cursor
> will get a lock on the cell it currently works on. So when writing stuff
> using imglib one should think ahead and close cursors when they are not
> needed anymore.
Fair enough. I might try my hand on some static code analyzer to point out
where a cursor needs to be closed.
Ciao,
Dscho
More information about the ImageJ-devel
mailing list