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 — Revert "src: fix stuck debugger process" · nodejs/node@d72bb1e

File tree

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

‎src/node.cc‎

Copy file name to clipboardExpand all lines: src/node.cc
+2-4Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3747,6 +3747,7 @@ void Init(int* argc,
37473747
uv_async_init(uv_default_loop(),
37483748
&dispatch_debug_messages_async,
37493749
DispatchDebugMessagesAsyncCallback);
3750+
uv_unref(reinterpret_cast<uv_handle_t*>(&dispatch_debug_messages_async));
37503751

37513752
#if defined(NODE_V8_OPTIONS)
37523753
// Should come before the call to V8::SetFlagsFromCommandLine()
@@ -4054,11 +4055,8 @@ static void StartNodeInstance(void* arg) {
40544055
env->set_trace_sync_io(trace_sync_io);
40554056

40564057
// Enable debugger
4057-
if (instance_data->use_debug_agent()) {
4058+
if (instance_data->use_debug_agent())
40584059
EnableDebug(env);
4059-
} else {
4060-
uv_unref(reinterpret_cast<uv_handle_t*>(&dispatch_debug_messages_async));
4061-
}
40624060

40634061
{
40644062
SealHandleScope seal(isolate);

0 commit comments

Comments
0 (0)
You are visitor 01402775 — 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.