From: Jérôme Benoit Date: Fri, 10 Feb 2023 16:43:20 +0000 (+0100) Subject: chore(simulator): apply dependencies update X-Git-Tag: v1.1.94~6 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=b6a45d9ada7e4b734c86d1c54cabbda58a6b72bb;p=e-mobility-charging-stations-simulator.git chore(simulator): apply dependencies update Signed-off-by: Jérôme Benoit --- diff --git a/package-lock.json b/package-lock.json index 78f501d7..214d90c0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -68,7 +68,7 @@ "prettier": "^2.8.4", "release-it": "^15.6.0", "robohydra": "^0.6.9", - "rollup": "^3.14.0", + "rollup": "^3.15.0", "rollup-plugin-analyzer": "^4.0.0", "rollup-plugin-copy": "^3.4.0", "rollup-plugin-delete": "^2.0.0", @@ -14376,9 +14376,9 @@ } }, "node_modules/rollup": { - "version": "3.14.0", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.14.0.tgz", - "integrity": "sha512-o23sdgCLcLSe3zIplT9nQ1+r97okuaiR+vmAPZPTDYB7/f3tgWIYNyiQveMsZwshBT0is4eGax/HH83Q7CG+/Q==", + "version": "3.15.0", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.15.0.tgz", + "integrity": "sha512-F9hrCAhnp5/zx/7HYmftvsNBkMfLfk/dXUh73hPSM2E3CRgap65orDNJbLetoiUFwSAk6iHPLvBrZ5iHYvzqsg==", "dev": true, "bin": { "rollup": "dist/bin/rollup" @@ -28557,9 +28557,9 @@ } }, "rollup": { - "version": "3.14.0", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.14.0.tgz", - "integrity": "sha512-o23sdgCLcLSe3zIplT9nQ1+r97okuaiR+vmAPZPTDYB7/f3tgWIYNyiQveMsZwshBT0is4eGax/HH83Q7CG+/Q==", + "version": "3.15.0", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.15.0.tgz", + "integrity": "sha512-F9hrCAhnp5/zx/7HYmftvsNBkMfLfk/dXUh73hPSM2E3CRgap65orDNJbLetoiUFwSAk6iHPLvBrZ5iHYvzqsg==", "dev": true, "requires": { "fsevents": "~2.3.2" diff --git a/package.json b/package.json index 8d00705d..aa435523 100644 --- a/package.json +++ b/package.json @@ -135,7 +135,7 @@ "prettier": "^2.8.4", "release-it": "^15.6.0", "robohydra": "^0.6.9", - "rollup": "^3.14.0", + "rollup": "^3.15.0", "rollup-plugin-analyzer": "^4.0.0", "rollup-plugin-copy": "^3.4.0", "rollup-plugin-delete": "^2.0.0", diff --git a/src/charging-station/Bootstrap.ts b/src/charging-station/Bootstrap.ts index 55febdba..afa56c37 100644 --- a/src/charging-station/Bootstrap.ts +++ b/src/charging-station/Bootstrap.ts @@ -130,11 +130,11 @@ export class Bootstrap { public async stop(): Promise { if (isMainThread && this.started === true) { - this.initializedCounters = false; await this.workerImplementation?.stop(); this.workerImplementation = null; this.uiServer?.stop(); await this.storage?.close(); + this.initializedCounters = false; this.started = false; } else { console.error(chalk.red('Cannot stop a not started charging stations simulator'));