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

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

[Octave-bug-tracker] [bug #46497] classdef: delete destructor method is


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #46497] classdef: delete destructor method is not called when clearing handle class
Date: Thu, 26 Apr 2018 22:00:22 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0

Update of bug #46497 (project octave):

                  Status:               Confirmed => Ready For Test         

    _______________________________________________________

Follow-up Comment #3:

Piotr: I pushed your change.  That uncovered a bug in the evaluator that I
introduced with my big refactor last year.  Then I realized that Octave would
crash if an exception was thrown in the delete method, so I fixed that with
the same technique as is used in the octave_oncleanup destructor.  The final
set of patches are:

http://hg.savannah.gnu.org/hgweb/octave/rev/4a46c83bcb71
http://hg.savannah.gnu.org/hgweb/octave/rev/b328ff3ce0f7
http://hg.savannah.gnu.org/hgweb/octave/rev/56201aad3462

maintainers: I know it's very late for this kind of thing, but I pushed on
stable because having a working delete method makes handle classes
substantially more useful and the bug in the evaluator was serious trouble
waiting to happen.


    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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