D12567: Avoid octave backend crushing, when we try to kill ended process

Alexander Semke noreply at phabricator.kde.org
Sat Apr 28 05:51:26 UTC 2018


asemke added a comment.


  Shouldn't this check if(m_process->state() != QProcess::NotRunning) be done in a central place so that this logic applies for all backends? It shoudln't be possible to call the interrupt action in worksheet or in cantor_shell/part at all if the process is not running. But we can maybe also safe-guard this in all the *session.cpp files.
  
  calling quit() in an octave session results in a permanent "Calculating..." message in the status bar. Clicking on the interrupt crashes cantor. This problem is a bit similar to https://bugs.kde.org/show_bug.cgi?id=372075.

REPOSITORY
  R55 Cantor

REVISION DETAIL
  https://phabricator.kde.org/D12567

To: sirgienko, #cantor, asemke
Cc: #cantor, #kde_edu, narvaez, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-edu/attachments/20180428/9eb77b84/attachment.html>


More information about the kde-edu mailing list