From 0cd86a79c229167f9e2f9d3284d577732061c317 Mon Sep 17 00:00:00 2001 From: 648540858 <648540858@qq.com> Date: 星期一, 28 二月 2022 10:39:51 +0800 Subject: [PATCH] 修复设备删除 --- src/main/java/com/genersoft/iot/vmp/gb28181/event/offline/KeepaliveTimeoutListenerForPlatform.java | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/genersoft/iot/vmp/gb28181/event/offline/KeepaliveTimeoutListenerForPlatform.java b/src/main/java/com/genersoft/iot/vmp/gb28181/event/offline/KeepaliveTimeoutListenerForPlatform.java index 9ba0c05..aaf5b5d 100644 --- a/src/main/java/com/genersoft/iot/vmp/gb28181/event/offline/KeepaliveTimeoutListenerForPlatform.java +++ b/src/main/java/com/genersoft/iot/vmp/gb28181/event/offline/KeepaliveTimeoutListenerForPlatform.java @@ -76,7 +76,10 @@ eventResult.callId = callid; eventResult.msg = "娉ㄥ唽瓒呮椂"; eventResult.type = "register timeout"; - sipSubscribe.getErrorSubscribe(callid).response(eventResult); + if (sipSubscribe.getErrorSubscribe(callid) != null) { + sipSubscribe.getErrorSubscribe(callid).response(eventResult); + } + } } -- Gitblit v1.8.0