diff options
Diffstat (limited to 'lib/domain.js')
-rw-r--r-- | lib/domain.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/domain.js b/lib/domain.js index 46b8108574..144d668624 100644 --- a/lib/domain.js +++ b/lib/domain.js @@ -68,7 +68,7 @@ const asyncHook = createHook({ }, before(asyncId) { const current = pairing.get(asyncId); - if (current !== undefined) { // enter domain for this cb + if (current !== undefined) { // Enter domain for this cb // We will get the domain through current.get(), because the resource // object's .domain property makes sure it is not garbage collected. current.get().enter(); @@ -76,7 +76,7 @@ const asyncHook = createHook({ }, after(asyncId) { const current = pairing.get(asyncId); - if (current !== undefined) { // exit domain for this cb + if (current !== undefined) { // Exit domain for this cb current.get().exit(); } }, |