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