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(); }