Skip to content

Commit 40dae27

Browse files
committed
Fixup async id assertion patch
nodejs/node#33347
1 parent be20e70 commit 40dae27

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

patches/node/fixme_remove_async_id_assertion_check.patch

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ async hooks are hella broken in Electron. This was checking that they weren't,
77
but they are, so we just disabled the check. YOLO.
88

99
diff --git a/src/api/callback.cc b/src/api/callback.cc
10-
index f7e7ddedfae377daa1441b0845c6828aedfc2a44..dc62f8cc1b80a1b7558ec1000ac856e9929c68a5 100644
10+
index c8934e1cd33a364ba55b437b080fe2c1c0f5de6c..63c9f5d7c08bebd25bd2602ab6b97c8987a102a4 100644
1111
--- a/src/api/callback.cc
1212
+++ b/src/api/callback.cc
13-
@@ -111,12 +111,14 @@ void InternalCallbackScope::Close() {
14-
MicrotasksScope::PerformCheckpoint(env_->isolate());
13+
@@ -117,12 +117,14 @@ void InternalCallbackScope::Close() {
14+
perform_stopping_check();
1515
}
1616

1717
+#if 0 // FIXME(codebytere): figure out why this check fails/causes crash

0 commit comments

Comments
 (0)