stop method

void stop()

Stops following the current path.

Implementation

void stop() {
  _currentPath.clear();
  _barriers.clear();
  _currentIndex = 0;
  _removeLinePathComponent();
  _notifyFinish();
  _comp.stop();
}