mirror of
https://gitee.com/openharmony/filemanagement_user_file_service
synced 2024-11-23 07:20:41 +00:00
fix:code
Signed-off-by: zhouoaoteng <zhouaoteng@huawei.com>
This commit is contained in:
parent
127020e5f1
commit
3aac184b52
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user