Fixed callback issue
This commit is contained in:
parent
d3323f9884
commit
8a4a562c8d
@ -535,8 +535,8 @@ static dmExtension::Result UpdateIAP(dmExtension::Params* params)
|
|||||||
{
|
{
|
||||||
Command* cmd = &m_commandsQueue[i];
|
Command* cmd = &m_commandsQueue[i];
|
||||||
InvokeCallback(cmd);
|
InvokeCallback(cmd);
|
||||||
m_commandsQueue.EraseSwap(i--);
|
|
||||||
}
|
}
|
||||||
|
m_commandsQueue.SetSize(0);
|
||||||
return dmExtension::RESULT_OK;
|
return dmExtension::RESULT_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user