From f3fc186d74d366dfb398455055775bb842d8073d Mon Sep 17 00:00:00 2001 From: Yuri Gorshenin Date: Fri, 3 Apr 2015 17:10:13 +0300 Subject: [PATCH] [threading] Follow-up small fix to CommandsQueue. --- base/commands_queue.cpp | 1 + 1 file changed, 1 insertion(+) 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(); + CHECK(routine, ()); routine->CancelCommand(); }