Skip to content

Commit bdb7d62

Browse files
committed
Adding the Re-entrant macro
The DeleteElement call can go to the user function, so we need to add a macro here.
1 parent f7691ad commit bdb7d62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Runtime/Library/JavascriptArray.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9292,7 +9292,7 @@ using namespace Js;
92929292
}
92939293
else
92949294
{
9295-
JavascriptOperators::OP_DeleteElementI(obj, JavascriptNumber::ToVar(toVal, scriptContext), scriptContext, PropertyOperation_ThrowOnDeleteIfNotConfig);
9295+
JS_REENTRANT(jsReentLock, JavascriptOperators::OP_DeleteElementI(obj, JavascriptNumber::ToVar(toVal, scriptContext), scriptContext, PropertyOperation_ThrowOnDeleteIfNotConfig));
92969296
}
92979297

92989298
fromVal += direction;

0 commit comments

Comments
 (0)