Commit dc09c830 authored by yannick legoc's avatar yannick legoc
Browse files

changed kill by stop in RemoteMatlab controllers

parent 40ca5b08
......@@ -111,7 +111,7 @@ bool RemoteMatlabPub::initApplication() {
m_matlabApplication = m_server->connect(MATLAB_APPLICATION);
if (m_matlabApplication->exists()) {
// The application exists from a previous server session
m_matlabApplication->kill();
m_matlabApplication->stop();
application::State state = m_matlabApplication->waitFor();
cout << "Terminated matlab application " << state << endl;
}
......
......@@ -100,7 +100,7 @@ bool RemoteMatlabReq::initApplication() {
m_matlabApplication = m_server->connect(MATLAB_APPLICATION);
if (m_matlabApplication->exists()) {
// The application exists from a previous server session
m_matlabApplication->kill();
m_matlabApplication->stop();
application::State state = m_matlabApplication->waitFor();
cout << "Terminated matlab application " << state << endl;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment