Skip to content
Snippets Groups Projects
Commit ebdb2235 authored by Fabian Tërnava's avatar Fabian Tërnava
Browse files

disable shadowing of lock l

parent 1a97bf0e
Branches feat/revolute-head
No related tags found
Loading
......@@ -315,6 +315,7 @@ namespace armarx::plugins
{
break;
}
}
std::this_thread::sleep_for(std::chrono::milliseconds(20));
......@@ -370,7 +371,7 @@ namespace armarx::plugins
while (true)
{
{
std::scoped_lock l(runtime.skillStatusesMutex);
std::scoped_lock l2(runtime.skillStatusesMutex);
auto status = runtime.statusUpdate;
if (status.hasBeenTerminated())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment