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

Commit b3114df0 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Initialize mStopThread in Sensor constructor" into main am: 014b456a am: 9f52ca0f

parents bcdc82db 9f52ca0f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -40,6 +40,7 @@ Sensor::Sensor(ISensorsEventCallback* callback)
    : mIsEnabled(false),
      mSamplingPeriodNs(0),
      mLastSampleTimeNs(0),
      mStopThread(false),
      mCallback(callback),
      mMode(OperationMode::NORMAL) {
    mRunThread = std::thread(startThread, this);