Signed-off-by: zhouoaoteng <zhouaoteng@huawei.com>
This commit is contained in:
zhouoaoteng 2024-09-13 18:39:07 +08:00
parent 127020e5f1
commit 3aac184b52

View File

@ -796,13 +796,9 @@ void FileAccessService::RemoveAppProxy(const sptr<AAFwk::IAbilityConnection>& co
return;
}
size_t key = reinterpret_cast<size_t>(connection->AsObject().GetRefPtr());
if (appProxyMap_.find(key) == appProxyMap_.end()) {
HILOG_WARN("appProxyMap_ not key: %{public}zu", key);
return;
}
lock_guard<mutex> lock(appProxyMutex_);
if (appProxyMap_.find(key) == appProxyMap_.end()) {
HILOG_INFO("appProxyMap_ not key");
HILOG_INFO("appProxyMap_ not key %{public}zu", key);
return;
}