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

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

[Octave-bug-tracker] [bug #44485] GUI: File | Exit from main menu doesn'


From: Dan Sebald
Subject: [Octave-bug-tracker] [bug #44485] GUI: File | Exit from main menu doesn't work when Octave is busy
Date: Wed, 18 Mar 2015 18:26:38 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0 SeaMonkey/2.15

Follow-up Comment #12, bug #44485 (project octave):

Sorry, got sidetracked...

Attached is a new version of the patch which simply adds a way to gracefully
quit the thread running the interpreter.  Let me know if it works for you.

If you are still seeing a non-zero signal, there is a pre-processor
conditional in octave-qt-link.cc:


void
octave_qt_link::quit_interpreter (void)
{
#if 1
  main_thread->quit ();
#else
  delete main_thread;
#endif
}


that you may try changing to see if that helps any.

If this works, we'll at least have a means to force termination gracefully. 
Then we'll open the issue to the discussion list to see what makes the most
sense to do in terms of forced shutdown sequence.

(file #33391)
    _______________________________________________________

Additional Item Attachment:

File name: octave-exit_timer-djs2015mar18.patch Size:6 KB


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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