From 8ecd0802b9a68c9a2b5b482b2f25fa6d2816a3ac Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Mon, 12 Sep 2022 22:22:02 +0200 Subject: [PATCH] ATG: remove useless nullify in CS class MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- src/charging-station/ChargingStation.ts | 2 -- 1 file changed, 2 deletions(-) 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)); } -- 2.34.1