Remove unused Cleanup() call
It was used to clean up shared memory. We don't construct that anymore,
so remove the useless call.
Change-Id: I8087cef2afce184f66721a9995a63053fb278ec7
diff --git a/y2019/actors/autonomous_actor_main.cc b/y2019/actors/autonomous_actor_main.cc
index aa176f9..705db28 100644
--- a/y2019/actors/autonomous_actor_main.cc
+++ b/y2019/actors/autonomous_actor_main.cc
@@ -15,6 +15,5 @@
event_loop.Run();
- ::aos::Cleanup();
return 0;
}
diff --git a/y2019/control_loops/drivetrain/drivetrain_main.cc b/y2019/control_loops/drivetrain/drivetrain_main.cc
index cbc65e0..53e2bf5 100644
--- a/y2019/control_loops/drivetrain/drivetrain_main.cc
+++ b/y2019/control_loops/drivetrain/drivetrain_main.cc
@@ -22,6 +22,5 @@
event_loop.Run();
- ::aos::Cleanup();
return 0;
}
diff --git a/y2019/control_loops/drivetrain/drivetrain_replay.cc b/y2019/control_loops/drivetrain/drivetrain_replay.cc
index 4f40d75..3689970 100644
--- a/y2019/control_loops/drivetrain/drivetrain_replay.cc
+++ b/y2019/control_loops/drivetrain/drivetrain_replay.cc
@@ -58,6 +58,5 @@
reader.event_loop_factory()->Run();
- aos::Cleanup();
return 0;
}
diff --git a/y2019/control_loops/drivetrain/replay_localizer.cc b/y2019/control_loops/drivetrain/replay_localizer.cc
index 93282c8..de28317 100644
--- a/y2019/control_loops/drivetrain/replay_localizer.cc
+++ b/y2019/control_loops/drivetrain/replay_localizer.cc
@@ -403,5 +403,5 @@
::y2019::control_loops::drivetrain::LocalizerReplayer replay;
replay.ProcessFile(FLAGS_logfile.c_str());
- ::aos::Cleanup();
+ return 0;
}
diff --git a/y2019/control_loops/superstructure/superstructure_main.cc b/y2019/control_loops/superstructure/superstructure_main.cc
index b98c249..7a7eff9 100644
--- a/y2019/control_loops/superstructure/superstructure_main.cc
+++ b/y2019/control_loops/superstructure/superstructure_main.cc
@@ -15,6 +15,5 @@
event_loop.Run();
- ::aos::Cleanup();
return 0;
}
diff --git a/y2019/joystick_reader.cc b/y2019/joystick_reader.cc
index 59906c7..5dc75a7 100644
--- a/y2019/joystick_reader.cc
+++ b/y2019/joystick_reader.cc
@@ -673,5 +673,5 @@
event_loop.Run();
- ::aos::Cleanup();
+ return 0;
}