base_graphics_backend
John W. Eaton
jwe at bevo.che.wisc.edu
Tue Sep 9 14:47:25 CDT 2008
On 9-Sep-2008, Michael Goffioul wrote:
| The question here is why is the text object destroyed. The fact that the
| line object has the same handle is because the graphics code recycle
| handle values instead of generating a new ones. Maybe this should be
| avoided.
I don't see a problem with recycling old handle values. The handle
should be recycled only if it has been freed, and that should only
happen if there are no longer any uses for it. Or are you saying that
because someone can do
h = line ();
close all;
get (h)
and the get call will fail, that we should not recycle handle values?
I guess I'm a bit confused about what the problem is.
jwe
More information about the Octave-maintainers
mailing list