This commit is contained in:
shikong 2023-12-14 16:03:21 +08:00
parent 9c5a2c7b26
commit cbba1c7be7

View File

@ -269,7 +269,7 @@ public class Gb28181DownloadService {
if(docking == null){
return;
}
closeExistRequest(deviceCode, device, docking);
String cacheKey = CacheUtil.getKey(docking.getGbDeviceId(), device.getGbDeviceChannelId());
realtimeMap.computeIfPresent(cacheKey,(key, scheduledFuture) -> {
scheduledFuture.cancel(true);