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

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

[Octave-bug-tracker] [bug #51209] unwind_protect_cleanup does not work i


From: anonymous
Subject: [Octave-bug-tracker] [bug #51209] unwind_protect_cleanup does not work if CTRL-C pressed
Date: Fri, 9 Jun 2017 22:37:46 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0

Follow-up Comment #2, bug #51209 (project octave):

For example,

unwind_protect
  while(1) end
  # or pause(1000);
  # or some other long codes
unwind_protect_cleanup
  disp('a');
  # or some other codes
end

and press CTRL-C when the codes in "unwind_protect" block is running.
In Octave 4.0.3 the 'a' will be displayed, but recently I just noticed that in
Octave 4.2.1 the 'a' will NOT be displayed.


This just happens in the case of pressing CTRL-C.
Otherwise, no matter whether there is error in "unwind_protect" block, no
matter in Octave 4.0.3 or 4.2.1, the 'a' will always be displayed, just as the
document says.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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