Skip to content

Commit 17a7299

Browse files
committed
fix: block isolate validation condition
1 parent 7330da1 commit 17a7299

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

NativeScript/runtime/ClassBuilder.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@
282282

283283
void (*release)(id, SEL) = (void (*)(id, SEL))FindNotOverridenMethod(extendedClass, @selector(release));
284284
IMP newRelease = imp_implementationWithBlock(^(id self) {
285-
if (!Runtime::IsAlive(isolate) || isolateWrapper.IsValid()) {
285+
if (!Runtime::IsAlive(isolate) || !isolateWrapper.IsValid()) {
286286
return;
287287
}
288288

0 commit comments

Comments
 (0)