Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/env.cc')
-rw-r--r--src/env.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/env.cc b/src/env.cc
index 9f6172de82b..1cc7da1ce15 100644
--- a/src/env.cc
+++ b/src/env.cc
@@ -447,7 +447,7 @@ void Environment::InitializeMainContext(Local<Context> context,
CreateProperties();
}
- if (options_->no_force_async_hooks_checks) {
+ if (!options_->force_async_hooks_checks) {
async_hooks_.no_force_checks();
}