| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 388c7d9 commit 409cc69
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -575,7 +575,7 @@ void Environment::AssignToContext(Local<v8::Context> context, | |||
| 575 | 575 | // Used to retrieve bindings | |
| 576 | 576 | context->SetAlignedPointerInEmbedderData( | |
| 577 | 577 | ContextEmbedderIndex::kBindingDataStoreIndex, | |
| 578 | - realm->binding_data_store()); | ||
| 578 | + realm != nullptr ? realm->binding_data_store() : nullptr); | ||
| 579 | 579 | ||
| 580 | 580 | // ContextifyContexts will update this to a pointer to the native object. | |
| 581 | 581 | context->SetAlignedPointerInEmbedderData( | |
| Back | FazBrowse Home | New Git URL |
0 commit comments