Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b657980c authored by Vadim Caen's avatar Vadim Caen Committed by Gerrit Code Review
Browse files

Merge "Fix render thread early termination" into main

parents fac75d42 3774b59b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -216,8 +216,8 @@ class VirtualCameraRenderThread {
  std::mutex mLock;
  std::deque<std::unique_ptr<ProcessCaptureRequestTask>> mQueue GUARDED_BY(mLock);
  std::condition_variable mCondVar;
  volatile bool mTextureUpdateRequested GUARDED_BY(mLock);
  volatile bool mPendingExit GUARDED_BY(mLock);
  volatile bool GUARDED_BY(mLock) mTextureUpdateRequested = false;
  volatile bool GUARDED_BY(mLock) mPendingExit = false;

  // Acquisition timestamp of last frame.
  std::atomic<uint64_t> mLastAcquisitionTimestampNanoseconds;