Skip to content

Commit 0ebd612

Browse files
committed
fixed crash with ndisplay launch?
1 parent b4136c8 commit 0ebd612

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Source/V8/Private/JavascriptIsolate_Private.cpp

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,13 @@ class FJavascriptIsolateImplementation : public FJavascriptIsolate
378378
params.array_buffer_allocator = &AllocatorInstance;
379379

380380
// Bind this instance to newly created V8 isolate
381-
RegisterSelf(Isolate::New(params));
381+
// Bind this instance to newly created V8 isolate
382+
Isolate* iso = nullptr;
383+
iso = Isolate::New(params);
384+
if (iso)
385+
{
386+
RegisterSelf(iso);
387+
}
382388

383389
GenerateBlueprintFunctionLibraryMapping();
384390

0 commit comments

Comments
 (0)