修复更新通道结束后释放慢的问题

pull/439/head
648540858 2022-04-18 12:42:58 +08:00
parent c1f6401598
commit b8bb9c1b74
1 changed files with 1 additions and 0 deletions

View File

@ -78,6 +78,7 @@ public class CatalogDataCatch {
public SyncStatus getSyncStatus(String deviceId) {
CatalogData catalogData = data.get(deviceId);
if (catalogData == null) return null;
if (catalogData.getStatus().equals(CatalogData.CatalogDataStatus.end)) return null;
SyncStatus syncStatus = new SyncStatus();
syncStatus.setCurrent(catalogData.getChannelList().size());
syncStatus.setTotal(catalogData.getTotal());