mirror of
https://github.com/moveit/moveit_task_constructor.git
synced 2025-11-04 14:49:57 +08:00
Task: fix RobotModelPtr leak
On Task::clear() also need to reset introspection's cache.
This commit is contained in:
parent
6b77b15b2f
commit
71099c68d4
@ -176,6 +176,7 @@ void Task::add(Stage::pointer &&stage) {
|
||||
|
||||
void Task::clear()
|
||||
{
|
||||
reset();
|
||||
stages()->clear();
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user