Task: fix RobotModelPtr leak

On Task::clear() also need to reset introspection's cache.
This commit is contained in:
Robert Haschke 2019-02-09 01:00:29 +01:00
parent 6b77b15b2f
commit 71099c68d4

View File

@ -176,6 +176,7 @@ void Task::add(Stage::pointer &&stage) {
void Task::clear()
{
reset();
stages()->clear();
}