aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Semke <alexander.semke@web.de>2016-10-22 18:43:58 (GMT)
committerAlexander Semke <alexander.semke@web.de>2016-10-22 18:45:48 (GMT)
commitdd718f19d26641152cf4db8a837938cf4160d53f (patch)
tree0dad8fb51519d07625bc86173b558a284bbb8878
parentda4519d4dc335156d65b1b4df553602d2021e48b (diff)
Don't crash when closing Cantor with an open python, scilab or julia session.
BUG: 363605
-rw-r--r--src/backends/julia/juliasession.cpp2
-rw-r--r--src/backends/python/pythonsession.cpp2
-rw-r--r--src/backends/scilab/scilabsession.cpp2
3 files changed, 0 insertions, 6 deletions
diff --git a/src/backends/julia/juliasession.cpp b/src/backends/julia/juliasession.cpp
index d4fcebf..425e6cb 100644
--- a/src/backends/julia/juliasession.cpp
+++ b/src/backends/julia/juliasession.cpp
@@ -114,8 +114,6 @@ void JuliaSession::logout()
JuliaKeywords::instance()->clearVariables();
JuliaKeywords::instance()->clearFunctions();
-
- changeStatus(Cantor::Session::Done);
}
void JuliaSession::interrupt()
diff --git a/src/backends/python/pythonsession.cpp b/src/backends/python/pythonsession.cpp
index 360537c..6f58512 100644
--- a/src/backends/python/pythonsession.cpp
+++ b/src/backends/python/pythonsession.cpp
@@ -107,8 +107,6 @@ void PythonSession::logout()
while(i.hasNext()){
removePlotFigures.remove(QLatin1String(i.next().toLocal8Bit().constData()));
}
-
- changeStatus(Cantor::Session::Done);
}
void PythonSession::interrupt()
diff --git a/src/backends/scilab/scilabsession.cpp b/src/backends/scilab/scilabsession.cpp
index 7ccb3a2..5163667 100644
--- a/src/backends/scilab/scilabsession.cpp
+++ b/src/backends/scilab/scilabsession.cpp
@@ -125,8 +125,6 @@ void ScilabSession::logout()
while(i.hasNext()){
removePlotFigures.remove(QLatin1String(i.next().toLocal8Bit().constData()));
}
-
- changeStatus(Cantor::Session::Done);
}
void ScilabSession::interrupt()