Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 296523a

Browse filesBrowse files
apapirovskiaddaleax
authored andcommitted
src: remove unnecessary async hooks check
PR-URL: #18291 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 5ddef29 commit 296523a
Copy full SHA for 296523a

File tree

Expand file treeCollapse file tree

1 file changed

+0
-5
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+0
-5
lines changed
Open diff view settings
Collapse file

‎src/node.cc‎

Copy file name to clipboardExpand all lines: src/node.cc
-5Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1309,11 +1309,6 @@ void InternalCallbackScope::Close() {
13091309
return;
13101310
}
13111311

1312-
if (env_->async_hooks()->fields()[AsyncHooks::kTotals]) {
1313-
CHECK_EQ(env_->execution_async_id(), 0);
1314-
CHECK_EQ(env_->trigger_async_id(), 0);
1315-
}
1316-
13171312
Local<Object> process = env_->process_object();
13181313

13191314
if (env_->tick_callback_function()->Call(process, 0, nullptr).IsEmpty()) {

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.