diff --git a/NativeScript/runtime/Runtime.h b/NativeScript/runtime/Runtime.h index f85de578..f406116b 100644 --- a/NativeScript/runtime/Runtime.h +++ b/NativeScript/runtime/Runtime.h @@ -159,7 +159,7 @@ class Runtime { static void DrainRejectionsObserver(CFRunLoopObserverRef observer, CFRunLoopActivity activity, void* info); - v8::Isolate* isolate_; + v8::Isolate* isolate_ = nullptr; std::atomic terminationRequested_{false}; napi_env napiEnv_ = nullptr; std::unique_ptr moduleInternal_;