Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
}
await this.workerImplementation?.stop();
delete this.workerImplementation;
}
await this.workerImplementation?.stop();
delete this.workerImplementation;
+ this.removeAllListeners();
this.uiServer?.stop();
await this.storage?.close();
delete this.storage;
this.uiServer?.stop();
await this.storage?.close();
delete this.storage;
this.numberOfChargingStations,
)
.then(() => {
this.numberOfChargingStations,
)
.then(() => {
- this.removeAllListeners();
resolve('Charging stations stopped');
})
.catch(reject)
resolve('Charging stations stopped');
})
.catch(reject)