fixed a re-entrancy bug
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40705
This commit is contained in:
parent
43856e7dc4
commit
5811c5b29f
@ -79,10 +79,10 @@ cell_t FakeNativeRouter(IPluginContext *pContext, const cell_t *params, void *pD
|
||||
}
|
||||
|
||||
/* Restore everything from the stack if necessary */
|
||||
if (pSaveNative != NULL)
|
||||
{
|
||||
s_curnative = pSaveNative;
|
||||
s_curcaller = pSaveCaller;
|
||||
if (pSaveNative != NULL)
|
||||
{
|
||||
for (cell_t i=0; i<=save_params[0]; i++)
|
||||
{
|
||||
s_curparams[i] = save_params[i];
|
||||
|
Loading…
Reference in New Issue
Block a user