diff options
| author | Christopher R. Palmer <crpalmer@gmail.com> | 2017-04-08 07:19:28 -0400 |
|---|---|---|
| committer | Michael Bestas <mikeioannina@gmail.com> | 2017-04-22 13:51:58 +0300 |
| commit | 6bbf98043cb9256fc5efb2899fc07cf02105bf19 (patch) | |
| tree | 336e1cbe1712bf7aebc46b725f355215e8a177a6 /gps/utils/MsgTask.cpp | |
| parent | ce18c53768c61d7685fb2a3606e6767350604f5e (diff) | |
ether: gps: Roll back to LA.BF64.1.2.3-01210-8x92.0
Change-Id: I7be5201a404852fd340f80c754a8ca84699ce957
Diffstat (limited to 'gps/utils/MsgTask.cpp')
| -rw-r--r-- | gps/utils/MsgTask.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gps/utils/MsgTask.cpp b/gps/utils/MsgTask.cpp index 0e7a3a2..6f9d0e9 100644 --- a/gps/utils/MsgTask.cpp +++ b/gps/utils/MsgTask.cpp @@ -63,9 +63,9 @@ MsgTask::~MsgTask() { } void MsgTask::destroy() { - LocThread* thread = mThread; msg_q_unblock((void*)mQ); - if (thread) { + if (mThread) { + LocThread* thread = mThread; mThread = NULL; delete thread; } else { |
