|
@@ -363,7 +363,8 @@ class Configurator:
|
|
component.start()
|
|
component.start()
|
|
self._components[task['name']] = component
|
|
self._components[task['name']] = component
|
|
elif command == 'stop':
|
|
elif command == 'stop':
|
|
- component.stop()
|
|
|
|
|
|
+ if component.running():
|
|
|
|
+ component.stop()
|
|
del self._components[task['name']]
|
|
del self._components[task['name']]
|
|
else:
|
|
else:
|
|
# Can Not Happen (as the plans are generated by ourself).
|
|
# Can Not Happen (as the plans are generated by ourself).
|