forked from organicmaps/organicmaps
fixed memleak.
This commit is contained in:
parent
89a346633b
commit
7c1dabd815
1 changed files with 2 additions and 0 deletions
|
@ -141,6 +141,8 @@ namespace core
|
|||
{
|
||||
if (m_routine != 0)
|
||||
m_thread.Cancel();
|
||||
delete m_routine;
|
||||
m_routine = 0;
|
||||
}
|
||||
|
||||
void CommandsQueue::Executor::CancelCommand()
|
||||
|
|
Loading…
Add table
Reference in a new issue