forked from organicmaps/organicmaps
commands chain isn't cancelled between execution of chains.
This commit is contained in:
parent
32f1c76adb
commit
3c6fb1a0ce
1 changed files with 0 additions and 5 deletions
|
@ -66,12 +66,7 @@ namespace core
|
|||
void CommandsQueue::Chain::operator()(CommandsQueue::Environment const & env)
|
||||
{
|
||||
for (list<function_t>::const_iterator it = m_fns.begin(); it != m_fns.end(); ++it)
|
||||
{
|
||||
(*it)(env);
|
||||
|
||||
if (env.isCancelled())
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
CommandsQueue::Command::Command(bool isWaitable)
|
||||
|
|
Loading…
Add table
Reference in a new issue