]> Piment Noir Git Repositories - e-mobility-charging-stations-simulator.git/commit
fix(ocpp20): clean up VariableManager mappings cache on station stop
authorJérôme Benoit <jerome.benoit@sap.com>
Sun, 15 Mar 2026 18:23:00 +0000 (19:23 +0100)
committerJérôme Benoit <jerome.benoit@sap.com>
Sun, 15 Mar 2026 18:23:00 +0000 (19:23 +0100)
commit7f1aee53bbb2987f21a679d46961fbac8637d4bb
treec287cbe12162263b2965313ff024bfc9c208f0da
parent77bd1a0315b3a3b75a47ed6f08d4c4eb5d35feed
fix(ocpp20): clean up VariableManager mappings cache on station stop

invalidateMappingsCache was never called on station stop, leaking
invalidVariables and validatedStations entries for each stopped station.
Call it alongside resetRuntimeOverrides in stop() for complete cleanup.
src/charging-station/ocpp/2.0/OCPP20IncomingRequestService.ts