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/y2020/actors/autonomous_actor_main.cc b/y2020/actors/autonomous_actor_main.cc
index 99563ee..b242e05 100644
--- a/y2020/actors/autonomous_actor_main.cc
+++ b/y2020/actors/autonomous_actor_main.cc
@@ -15,6 +15,5 @@
event_loop.Run();
- ::aos::Cleanup();
return 0;
}
diff --git a/y2020/control_loops/drivetrain/drivetrain_main.cc b/y2020/control_loops/drivetrain/drivetrain_main.cc
index 7804814..38a1b0d 100644
--- a/y2020/control_loops/drivetrain/drivetrain_main.cc
+++ b/y2020/control_loops/drivetrain/drivetrain_main.cc
@@ -22,6 +22,5 @@
event_loop.Run();
- ::aos::Cleanup();
return 0;
}
diff --git a/y2020/control_loops/drivetrain/drivetrain_replay.cc b/y2020/control_loops/drivetrain/drivetrain_replay.cc
index faf2cef..5a97943 100644
--- a/y2020/control_loops/drivetrain/drivetrain_replay.cc
+++ b/y2020/control_loops/drivetrain/drivetrain_replay.cc
@@ -65,6 +65,5 @@
reader.event_loop_factory()->Run();
- aos::Cleanup();
return 0;
}
diff --git a/y2020/control_loops/superstructure/superstructure_main.cc b/y2020/control_loops/superstructure/superstructure_main.cc
index aa74d56..c0ac956 100644
--- a/y2020/control_loops/superstructure/superstructure_main.cc
+++ b/y2020/control_loops/superstructure/superstructure_main.cc
@@ -15,6 +15,5 @@
event_loop.Run();
- ::aos::Cleanup();
return 0;
}
diff --git a/y2020/joystick_reader.cc b/y2020/joystick_reader.cc
index 2049e83..5825475 100644
--- a/y2020/joystick_reader.cc
+++ b/y2020/joystick_reader.cc
@@ -196,5 +196,5 @@
event_loop.Run();
- ::aos::Cleanup();
+ return 0;
}
diff --git a/y2020/setpoint_setter.cc b/y2020/setpoint_setter.cc
index 1cbc518..f4aa03a 100644
--- a/y2020/setpoint_setter.cc
+++ b/y2020/setpoint_setter.cc
@@ -30,5 +30,5 @@
setpoint_builder.add_hood(FLAGS_hood);
builder.Send(setpoint_builder.Finish());
- aos::Cleanup();
+ return 0;
}