abort method

void abort()

abort

Implementation

void abort() {
  shouldStop = true;
}