增加释放唤醒锁

rtmpsuck
XI.CHEN 6 months ago
parent b5413de417
commit af0de16a67

@ -1998,6 +1998,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