Commit de43a3bf authored by legoc's avatar legoc
Browse files

(split) Corrected bug with stop handler: a call to the request socket was made...

(split) Corrected bug with stop handler: a call to the request socket was made into the stopping thread, that could be concurrent with other calls to the request socket
parent 80694629
......@@ -356,12 +356,9 @@ bool This::removePort(const std::string& name) const {
State This::waitForStop() {
// test if stop was requested elsewhere
State state = getState(m_id);
if (state == STOPPING
|| state == KILLING) {
return state;
}
// The function is executed in a thread in parallel.
// Do not parallelize the calls to the request socket.
State state = UNKNOWN;
while (true) {
// waits for a new incoming status
......
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