From 0cff653e411fff0bf8989bba369b4df70ab2a7de Mon Sep 17 00:00:00 2001 From: gokhangunduz Date: Thu, 21 Dec 2023 09:43:48 +0300 Subject: [PATCH] feat(version): release 0.25.3 version --- package.json | 2 +- src/contexts/RobotContext.tsx | 14 ++++++++------ 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index c93a7e11..f5cb0ef6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ui", - "version": "0.25.2", + "version": "0.25.3", "private": true, "scripts": { "dev": "react-scripts start", diff --git a/src/contexts/RobotContext.tsx b/src/contexts/RobotContext.tsx index b6d4cd7e..2b4b7b3d 100644 --- a/src/contexts/RobotContext.tsx +++ b/src/contexts/RobotContext.tsx @@ -305,12 +305,14 @@ export default ({ children }: any) => { }); }); - vdiClient?.addEventListener("close", () => { - dispatcher({ - type: "vdi", - payload: false, - }); - }); + // vdiClient?.addEventListener("close", () => { + // dispatcher({ + // type: "vdi", + // payload: false, + // }); + // }); + + connectionsReducer?.vdi !== null && vdiClient && vdiClient.close(); return () => { vdiClient?.close();