octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #48186] delete(allchild(fig)) in a "deletefcn"


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #48186] delete(allchild(fig)) in a "deletefcn" callback raises error
Date: Fri, 10 Jun 2016 16:25:08 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:46.0) Gecko/20100101 Firefox/46.0

Follow-up Comment #7, bug #48186 (project octave):

By the way, there is a comment in the Octave sources dating from 2011 claiming
an intentional order of operations here:

> NOTE: free the handle before removing it from its parent's
>       children, such that the object's state is correct when the
>       deletefcn callback is executed

This seems to imply that the decision was made intentionally to delete the
child object, which calls its deletefcn callback function, before removing it
from the parent's "children" list. So which way is correct?

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?48186>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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