diff gui/src/backend/OctaveLink.cpp @ 14669:7605e7136b50 gui

Discarded initFileEditor, instead put that in the constructor. Speedup for updating the symbol table by lowering complexity from n² to n. Fixed problem with hangup on quit. * FileEditor: Removed initFileEditor, put that code into the constructor. * WorkspaceModel: Simplified updating the symbol table. * OctaveLink: Add quit_allowed = true to prevent hangup on quit.
author Jacob Dawid <jacob.dawid@googlemail.com>
date Tue, 22 May 2012 11:00:24 +0200
parents 6a6733a55982
children 7fbea449737d
line wrap: on
line diff
--- a/gui/src/backend/OctaveLink.cpp	Tue May 22 09:13:46 2012 +0200
+++ b/gui/src/backend/OctaveLink.cpp	Tue May 22 11:00:24 2012 +0200
@@ -56,6 +56,7 @@
 OctaveLink::terminateOctave ()
 {
   m_octaveMainThread->terminate ();
+  quit_allowed = true;
   m_octaveMainThread->wait();
 }