stop method

void stop()

Implementation

void stop() {
  isStopped = true;
}