X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fworker%2FWorkerSet.ts;h=4a43e27b0601c44d3035c77411640cefd2fe798a;hb=36c1166db79b6b2631b1419a6ec47415c413ac06;hp=f22f195379616c32494623668030a7c8d32de2bd;hpb=b1396a2e5ab5f52238df71daeb9da0ef6b12807a;p=e-mobility-charging-stations-simulator.git diff --git a/src/worker/WorkerSet.ts b/src/worker/WorkerSet.ts index f22f1953..4a43e27b 100644 --- a/src/worker/WorkerSet.ts +++ b/src/worker/WorkerSet.ts @@ -97,9 +97,9 @@ export class WorkerSet extends WorkerAbstract { await waitWorkerExit } this.emitter?.emit(WorkerSetEvents.stopped, this.info) + this.started = false this.emitter?.emitDestroy() this.emitter?.removeAllListeners() - this.started = false } /** @inheritDoc */