commands chain isn't cancelled between execution of chains.

This commit is contained in:
rachytski 2012-04-13 22:50:42 +04:00 committed by Alex Zolotarev
parent 32f1c76adb
commit 3c6fb1a0ce

View file

@ -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)