Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/base
diff options
context:
space:
mode:
authorYuri Gorshenin <y@mmaps.me>2015-04-03 17:10:13 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:41:25 +0300
commitf3fc186d74d366dfb398455055775bb842d8073d (patch)
tree4c03458b2a7e9034dd20150e51353b891375ee67 /base
parentf29c8e6f35b000f6842967a14e3c0ece00caa80d (diff)
[threading] Follow-up small fix to CommandsQueue.
Diffstat (limited to 'base')
-rw-r--r--base/commands_queue.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/base/commands_queue.cpp b/base/commands_queue.cpp
index 94df6b1b86..99a54052dc 100644
--- a/base/commands_queue.cpp
+++ b/base/commands_queue.cpp
@@ -130,6 +130,7 @@ namespace core
void CommandsQueue::Executor::CancelCommand()
{
Routine * routine = m_thread.GetRoutineAs<Routine>();
+ CHECK(routine, ());
routine->CancelCommand();
}