Skip to content

Commit

Permalink
fix: memory leak on ArgConverter::ConstructObject
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanWalker committed Jul 22, 2022
1 parent f6e0500 commit 1129d15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NativeScript/runtime/ArgConverter.mm
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@
tns::SetValue(isolate, thiz, wrapper);
std::shared_ptr<Persistent<Value>> poThiz = ObjectManager::Register(context, thiz);
cache->Instances.emplace(result, poThiz);
[result retain];
// [result retain];
}
}

Expand Down

0 comments on commit 1129d15

Please sign in to comment.