Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/tracing/agent.h')
-rw-r--r--src/tracing/agent.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tracing/agent.h b/src/tracing/agent.h
index d7d67ce2de6..2e95e38582f 100644
--- a/src/tracing/agent.h
+++ b/src/tracing/agent.h
@@ -81,7 +81,9 @@ class Agent {
~Agent();
TracingController* GetTracingController() {
- return tracing_controller_.get();
+ TracingController* controller = tracing_controller_.get();
+ CHECK_NOT_NULL(controller);
+ return controller;
}
enum UseDefaultCategoryMode {