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

Added test for subscriber in tas::RemoteMatlabPub

parent fe13ab42
......@@ -54,6 +54,9 @@ RemoteMatlabPub::RemoteMatlabPub(const RemoteMatlabPub& controller) :
RemoteMatlabPub::~RemoteMatlabPub() {
// Test the subscriber
if (m_subscriber.get() != 0) {
// Stop the subscriber
m_subscriber->cancel();
......@@ -67,6 +70,7 @@ RemoteMatlabPub::~RemoteMatlabPub() {
application::State state = m_matlabApplication->waitFor();
cout << "Matlab application terminated with state " << application::toString(state) << endl;
}
}
void RemoteMatlabPub::postConfiguration() {
......
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