Update ZigGlobalObject.cpp

This commit is contained in:
Jarred Sumner
2022-11-15 00:11:32 -08:00
parent a63fe2be24
commit 44babb9ce5

View File

@@ -435,9 +435,7 @@ GlobalObject::GlobalObject(JSC::VM& vm, JSC::Structure* structure)
GlobalObject::~GlobalObject()
{
if (crypto) {
delete crypto;
}
delete crypto;
scriptExecutionContext()->removeFromContextsMap();
}