We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e477b13 commit 40efab1Copy full SHA for 40efab1
lib/Runtime/Types/ActivationObject.cpp
@@ -129,6 +129,8 @@ namespace Js
129
BlockActivationObject* BlockActivationObject::Clone(ScriptContext *scriptContext)
130
{
131
DynamicType* type = this->GetDynamicType();
132
+ type->GetTypeHandler()->ClearSingletonInstance(); //We are going to share the type.
133
+
134
BlockActivationObject* blockScopeClone = DynamicObject::NewObject<BlockActivationObject>(scriptContext->GetRecycler(), type);
135
int slotCapacity = this->GetTypeHandler()->GetSlotCapacity();
136
0 commit comments