| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 629132d commit f5384c3
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -547,7 +547,7 @@ void Environment::AssignToContext(Local<v8::Context> context, | |||
| 547 | 547 | // Used to retrieve bindings | |
| 548 | 548 | context->SetAlignedPointerInEmbedderData( | |
| 549 | 549 | ContextEmbedderIndex::kBindingDataStoreIndex, | |
| 550 | - realm->binding_data_store()); | ||
| 550 | + realm != nullptr ? realm->binding_data_store() : nullptr); | ||
| 551 | 551 | ||
| 552 | 552 | // ContextifyContexts will update this to a pointer to the native object. | |
| 553 | 553 | context->SetAlignedPointerInEmbedderData( | |
| Back | FazBrowse Home | New Git URL |
0 commit comments