|
From: | John W. Eaton |
Subject: | [Octave-bug-tracker] [bug #53844] handle class: delete destructor method cannot access class properties |
Date: | Sat, 12 May 2018 17:42:59 -0400 (EDT) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 |
Follow-up Comment #9, bug #53844 (project octave): Yeah, I understand why it is happening but I'm not sure what the appropriate fix is yet. The problem is that in this case, the delete method is called when there is a pending result in the evaluator. Then any expression that is evaluated as part of the delete method wipes out the pending value. I also noticed another issue with delete. The Matlab docs say that for x = some_handle_object (); y = x; delete (x); both y and x should be deleted but Octave doesn't do that. Maybe this problem should have a separate report. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?53844> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |