mirror of
https://github.com/defold/extension-iap
synced 2025-06-27 02:17:51 +02:00
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];
|
||||
InvokeCallback(cmd);
|
||||
m_commandsQueue.EraseSwap(i--);
|
||||
}
|
||||
m_commandsQueue.SetSize(0);
|
||||
return dmExtension::RESULT_OK;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user