Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add DCHECK to ensure context_frame is not emtpy in MakeCallback
Co-authored-by: Anna Henningsen <github@addaleax.net>
  • Loading branch information
Flarna and addaleax authored Feb 26, 2026
commit 2500801783c1f39e5a3127f0a56a012d06152ba7
1 change: 1 addition & 0 deletions src/async_wrap.cc
Original file line number Diff line number Diff line change
Expand Up @@ -662,6 +662,7 @@ MaybeLocal<Value> AsyncWrap::MakeCallback(const Local<Function> cb,
Local<Value>* argv) {
EmitTraceEventBefore();

Comment thread
Flarna marked this conversation as resolved.
Resolved
DCHECK(!context_frame_.IsEmpty());
ProviderType provider = provider_type();
async_context context { get_async_id(), get_trigger_async_id() };
MaybeLocal<Value> ret =
Expand Down
Loading