diff --git a/src/node.cc b/src/node.cc index 7b3482c78d50e2..621e59fcb64570 100644 --- a/src/node.cc +++ b/src/node.cc @@ -324,7 +324,8 @@ static struct { } void StopTracingAgent() { - tracing_agent_->Stop(); + if (tracing_agent_) + tracing_agent_->Stop(); } NodePlatform* Platform() {