Skip to content

Commit c3a01ea

Browse files
committed
chore: remove now redundant check
1 parent 70b1802 commit c3a01ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

NativeScript/runtime/Interop.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
.dispose = [](JSBlock* block) {
3838
if (block->descriptor == &JSBlock::kJSBlockDescriptor) {
3939
MethodCallbackWrapper* wrapper = static_cast<MethodCallbackWrapper*>(block->userData);
40-
if (Runtime::IsAlive(wrapper->isolateWrapper_.Isolate()) && wrapper->isolateWrapper_.IsValid()) {
40+
if (wrapper->isolateWrapper_.IsValid()) {
4141
Isolate* isolate = wrapper->isolateWrapper_.Isolate();
4242
v8::Locker locker(isolate);
4343
Isolate::Scope isolate_scope(isolate);

0 commit comments

Comments
 (0)