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
use undefined to avoid empty global
  • Loading branch information
Flarna committed Feb 26, 2026
commit c4583995275a6af247413b14aa350fdb3b373c1b
3 changes: 2 additions & 1 deletion src/async_wrap.cc
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,8 @@ void AsyncWrap::EmitDestroy(bool from_gc) {
HandleScope handle_scope(env()->isolate());
USE(object()->Set(env()->context(), env()->resource_symbol(), object()));
}
context_frame_.Reset();
Isolate* isolate = env()->isolate();
context_frame_.Reset(isolate, Undefined(isolate));
}
}

Expand Down
Loading