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: close tracing event loop · nodejs/node@56edd5f

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • src/tracing
    • agent.cc
    • agent.h
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎src/tracing/agent.cc‎

Copy file name to clipboardExpand all lines: src/tracing/agent.cc
+6Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
#include <string>
44
#include "tracing/node_trace_buffer.h"
5+
#include "debug_utils.h"
6+
#include "env-inl.h"
57

68
namespace node {
79
namespace tracing {
@@ -53,6 +55,10 @@ Agent::Agent() {
5355
CHECK_EQ(uv_loop_init(&tracing_loop_), 0);
5456
}
5557

58+
Agent::~Agent() {
59+
CheckedUvLoopClose(&tracing_loop_);
60+
}
61+
5662
void Agent::Start() {
5763
if (started_)
5864
return;
Collapse file

‎src/tracing/agent.h‎

Copy file name to clipboardExpand all lines: src/tracing/agent.h
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ class AgentWriterHandle {
6464
class Agent {
6565
public:
6666
Agent();
67+
~Agent();
6768

6869
TracingController* GetTracingController() { return tracing_controller_; }
6970

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.