dispose method

void dispose()

Implementation

void dispose() {
  for (final worker in workers) {
    if (!worker._disposed) {
      worker.dispose();
    }
  }
}