1
0
mirror of https://gitlab.com/obbart/universal_robots_ros_driver.git synced 2026-04-10 01:50:46 +02:00

only join cThread if created

This commit is contained in:
Felix Mauch
2019-06-11 17:49:39 +02:00
parent 4cd13b6b83
commit bb36999868

View File

@@ -185,7 +185,10 @@ public:
running_ = false;
pThread_.join();
cThread_.join();
if (cThread_.joinable())
{
cThread_.join();
}
notifier_.stopped(name_);
}