From 9964b6c4d88fb76948513366bc119583a42845cb Mon Sep 17 00:00:00 2001 From: Nelson Chan <3271800+chakflying@users.noreply.github.com> Date: Thu, 16 Nov 2023 20:41:35 +0800 Subject: [PATCH] Fix: Update monitor object on pause (#4032) --- server/server.js | 1 + 1 file changed, 1 insertion(+) diff --git a/server/server.js b/server/server.js index 605dde325..9d509b45e 100644 --- a/server/server.js +++ b/server/server.js @@ -1832,6 +1832,7 @@ async function pauseMonitor(userID, monitorID) { if (monitorID in server.monitorList) { server.monitorList[monitorID].stop(); + server.monitorList[monitorID].active = 0; } }