diff options
Diffstat (limited to 'src/node_binding.cc')
-rw-r--r-- | src/node_binding.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node_binding.cc b/src/node_binding.cc index 9890f9e7be9..0d577a8c8e8 100644 --- a/src/node_binding.cc +++ b/src/node_binding.cc @@ -470,7 +470,7 @@ void DLOpen(const FunctionCallbackInfo<Value>& args) { if (mp != nullptr) { if (mp->nm_context_register_func == nullptr) { - if (env->options()->force_context_aware) { + if (env->force_context_aware()) { dlib->Close(); THROW_ERR_NON_CONTEXT_AWARE_DISABLED(env); return false; |