Skip to content

Commit 1129d15

Browse files
committed
fix: memory leak on ArgConverter::ConstructObject
1 parent f6e0500 commit 1129d15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

NativeScript/runtime/ArgConverter.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@
341341
tns::SetValue(isolate, thiz, wrapper);
342342
std::shared_ptr<Persistent<Value>> poThiz = ObjectManager::Register(context, thiz);
343343
cache->Instances.emplace(result, poThiz);
344-
[result retain];
344+
// [result retain];
345345
}
346346
}
347347

0 commit comments

Comments
 (0)