From: Jérôme Benoit Date: Mon, 12 Sep 2022 20:22:02 +0000 (+0200) Subject: ATG: remove useless nullify in CS class X-Git-Tag: v1.1.73~2 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=8ecd0802b9a68c9a2b5b482b2f25fa6d2816a3ac;p=e-mobility-charging-stations-simulator.git ATG: remove useless nullify in CS class Signed-off-by: Jérôme Benoit --- diff --git a/src/charging-station/ChargingStation.ts b/src/charging-station/ChargingStation.ts index 7ce6c1f8..32d48c24 100644 --- a/src/charging-station/ChargingStation.ts +++ b/src/charging-station/ChargingStation.ts @@ -738,11 +738,9 @@ export default class ChargingStation { if (!Utils.isEmptyArray(connectorIds)) { for (const connectorId of connectorIds) { this.automaticTransactionGenerator?.stopConnector(connectorId); - // FIXME: check if the number of connectors match the CS number of connectors } } else { this.automaticTransactionGenerator?.stop(); - this.automaticTransactionGenerator = null; } parentPort.postMessage(MessageChannelUtils.buildUpdatedMessage(this)); }