From f0e8bb848e141b8854445b7148d30c7a0fae8184 Mon Sep 17 00:00:00 2001 From: waimifeier <55083970+waimifeier@users.noreply.github.com> Date: Tue, 9 Jan 2024 11:43:10 +0800 Subject: [PATCH] Update HkUtils.java --- src/main/java/cn/nkk/hikvision/utils/HkUtils.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/cn/nkk/hikvision/utils/HkUtils.java b/src/main/java/cn/nkk/hikvision/utils/HkUtils.java index dedc838..d516f16 100644 --- a/src/main/java/cn/nkk/hikvision/utils/HkUtils.java +++ b/src/main/java/cn/nkk/hikvision/utils/HkUtils.java @@ -306,6 +306,7 @@ public static void doLogout(String serialNumber){ hcNetSDK.NET_DVR_Logout(cameraLogin.getUserId()); hcNetSDK.NET_DVR_Cleanup(); log.info("设备:{}注销完成",cameraLogin.getUserId()); + LOCAL_CACHE.remove(serialNumber); }