}
await this.workerImplementation?.stop();
delete this.workerImplementation;
+ this.removeAllListeners();
this.uiServer?.stop();
await this.storage?.close();
delete this.storage;
this.numberOfChargingStations,
)
.then(() => {
- this.removeAllListeners();
resolve('Charging stations stopped');
})
.catch(reject)