增加释放唤醒锁

N938
XI.CHEN 6 months ago committed by Matthew
parent ce4f7358b4
commit d4e64008bc

@ -1994,6 +1994,7 @@ bool CPhoneDevice::OpenPTZSensors(uint32_t sec)
m_cameraStatus = false; m_cameraStatus = false;
m_sensorsStatus = false; m_sensorsStatus = false;
m_shouldStopWaiting.store(false); m_shouldStopWaiting.store(false);
ReleaseWakelock(wid);
return false; return false;
} }
std::this_thread::sleep_for(std::chrono::milliseconds(200)); std::this_thread::sleep_for(std::chrono::milliseconds(200));

Loading…
Cancel
Save