mirror of
https://github.com/openharmony/distributedhardware_distributed_input.git
synced 2026-07-25 06:15:33 -04:00
!203 fix:修改锁使用问题
Merge pull request !203 from 李天刚/cherry-pick-1718865672
This commit is contained in:
@@ -948,7 +948,6 @@ void DistributedInputSinkManager::CallBackScreenInfoChange()
|
||||
}
|
||||
nlohmann::json screenMsg(transInfos);
|
||||
std::string str = screenMsg.dump();
|
||||
std::lock_guard<std::mutex> lock(mutex_);
|
||||
for (const auto &iter : getSinkScreenInfosCallbacks_) {
|
||||
iter->OnResult(str);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user