mirror of
https://gitlab.com/obbart/universal_robots_ros_driver.git
synced 2026-04-10 10:00:48 +02:00
only join cThread if created
This commit is contained in:
@@ -185,7 +185,10 @@ public:
|
||||
running_ = false;
|
||||
|
||||
pThread_.join();
|
||||
cThread_.join();
|
||||
if (cThread_.joinable())
|
||||
{
|
||||
cThread_.join();
|
||||
}
|
||||
notifier_.stopped(name_);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user