commit | 8c7f14b3e9bb1225458e630eed0bd049ae7eb4a3 | [log] [tgz] |
---|---|---|
author | Austin Schuh <austin.linux@gmail.com> | Thu Jan 21 19:01:54 2021 -0800 |
committer | Austin Schuh <austin.linux@gmail.com> | Thu Jan 21 19:08:05 2021 -0800 |
tree | bcce69226b79560a520683a2654d833e9a128e2d | |
parent | 7ae48d2224d3fd4a147fc2f042e3d5615e977d00 [diff] [blame] |
Fix log_stats It wasn't deregistering Change-Id: I0ce4889d271d1ec2ae269b55a0134625e9c73363
diff --git a/aos/events/logging/log_stats.cc b/aos/events/logging/log_stats.cc index 47f3c5c..a2d8184 100644 --- a/aos/events/logging/log_stats.cc +++ b/aos/events/logging/log_stats.cc
@@ -86,6 +86,7 @@ for (const aos::Node *node : reader.Nodes()) { LOG(INFO) << " " << node->name()->string_view(); } + reader.Deregister(); return 1; } else { node = aos::configuration::GetNode(reader.configuration(), FLAGS_node);