octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: base_graphics_backend


From: John W. Eaton
Subject: Re: base_graphics_backend
Date: Tue, 09 Sep 2008 15:47:25 -0400

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]