fixed memleak.

This commit is contained in:
rachytski 2012-01-02 16:29:44 +04:00 committed by Alex Zolotarev
parent 89a346633b
commit 7c1dabd815

View file

@ -141,6 +141,8 @@ namespace core
{
if (m_routine != 0)
m_thread.Cancel();
delete m_routine;
m_routine = 0;
}
void CommandsQueue::Executor::CancelCommand()