修复更新通道结束后释放慢的问题
This commit is contained in:
parent
ab98fd60d9
commit
4e49266020
@ -78,6 +78,7 @@ public class CatalogDataCatch {
|
|||||||
public SyncStatus getSyncStatus(String deviceId) {
|
public SyncStatus getSyncStatus(String deviceId) {
|
||||||
CatalogData catalogData = data.get(deviceId);
|
CatalogData catalogData = data.get(deviceId);
|
||||||
if (catalogData == null) return null;
|
if (catalogData == null) return null;
|
||||||
|
if (catalogData.getStatus().equals(CatalogData.CatalogDataStatus.end)) return null;
|
||||||
SyncStatus syncStatus = new SyncStatus();
|
SyncStatus syncStatus = new SyncStatus();
|
||||||
syncStatus.setCurrent(catalogData.getChannelList().size());
|
syncStatus.setCurrent(catalogData.getChannelList().size());
|
||||||
syncStatus.setTotal(catalogData.getTotal());
|
syncStatus.setTotal(catalogData.getTotal());
|
||||||
|
Loading…
Reference in New Issue
Block a user