stop method

void stop()

Stops the generator.

Implementation

void stop() {
  _generator.stop();
  _isGenerating = false;
}