repositories
/
e-mobility-charging-stations-simulator.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix: clear UI server cache at simulator stop
[e-mobility-charging-stations-simulator.git]
/
src
/
charging-station
/
Bootstrap.ts
diff --git
a/src/charging-station/Bootstrap.ts
b/src/charging-station/Bootstrap.ts
index 3993ae1f2a34a23ea3113b04b447512deb6474b9..5ee1f2c0ccf8b3fb2fa1ae94282f8c47fc244bf7 100644
(file)
--- a/
src/charging-station/Bootstrap.ts
+++ b/
src/charging-station/Bootstrap.ts
@@
-261,6
+261,7
@@
export class Bootstrap extends EventEmitter {
await this.workerImplementation?.stop()
delete this.workerImplementation
this.removeAllListeners()
+ this.uiServer?.chargingStations.clear()
await this.storage?.close()
delete this.storage
this.started = false