Fix: Update monitor object on pause (#4032)

This commit is contained in:
Nelson Chan 2023-11-16 20:41:35 +08:00 committed by GitHub
parent d56bf08cd7
commit 9964b6c4d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -1832,6 +1832,7 @@ async function pauseMonitor(userID, monitorID) {
if (monitorID in server.monitorList) { if (monitorID in server.monitorList) {
server.monitorList[monitorID].stop(); server.monitorList[monitorID].stop();
server.monitorList[monitorID].active = 0;
} }
} }