GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — src: use cached `emit` v8::String · nodejs/node@7a554d9

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • src
    • node_process_events.cc
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎src/node_process_events.cc‎

Copy file name to clipboardExpand all lines: src/node_process_events.cc
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,8 @@ MaybeLocal<Value> ProcessEmit(Environment* env,
5656

5757
Local<Object> process = env->process_object();
5858
Local<Value> argv[] = {event_string, message};
59-
return MakeCallback(isolate, process, "emit", arraysize(argv), argv, {0, 0});
59+
return MakeCallback(
60+
isolate, process, env->emit_string(), arraysize(argv), argv, {0, 0});
6061
}
6162

6263
Maybe<bool> ProcessEmitWarningGeneric(Environment* env,

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.