mirror of
https://gitee.com/openharmony/ability_dmsfwk
synced 2024-11-23 06:20:07 +00:00
修改告警
Signed-off-by: 师皓杰 <shihaojie10@huawei.com>
This commit is contained in:
parent
efd44053df
commit
56f9c5c60b
@ -173,7 +173,7 @@ void DmsCallbackTask::NotifyDeviceOffline(const std::string& deviceId)
|
||||
dmsCallbackHandler_->RemoveEvent(it->second.taskId);
|
||||
}
|
||||
DistributedSchedService::GetInstance().NotifyFreeInstallResult(it->second, DEVICE_OFFLINE_ERR);
|
||||
(void)callbackMap_.erase(it++);
|
||||
it = callbackMap_.erase(it);
|
||||
} else {
|
||||
it++;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user