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/y2016/actors/autonomous_actor_main.cc b/y2016/actors/autonomous_actor_main.cc
index 79a1250..41b4539 100644
--- a/y2016/actors/autonomous_actor_main.cc
+++ b/y2016/actors/autonomous_actor_main.cc
@@ -14,6 +14,5 @@
::y2016::actors::AutonomousActor autonomous(&event_loop);
event_loop.Run();
- ::aos::Cleanup();
return 0;
}
diff --git a/y2016/actors/superstructure_actor_main.cc b/y2016/actors/superstructure_actor_main.cc
index fe512d7..54331c9 100644
--- a/y2016/actors/superstructure_actor_main.cc
+++ b/y2016/actors/superstructure_actor_main.cc
@@ -14,6 +14,5 @@
::y2016::actors::SuperstructureActor superstructure(&event_loop);
event_loop.Run();
- ::aos::Cleanup();
return 0;
}
diff --git a/y2016/actors/vision_align_actor_main.cc b/y2016/actors/vision_align_actor_main.cc
index c7aaf50..b62fc2d 100644
--- a/y2016/actors/vision_align_actor_main.cc
+++ b/y2016/actors/vision_align_actor_main.cc
@@ -14,6 +14,5 @@
::y2016::actors::VisionAlignActor vision_align(&event_loop);
event_loop.Run();
- ::aos::Cleanup();
return 0;
}
diff --git a/y2016/control_loops/drivetrain/drivetrain_main.cc b/y2016/control_loops/drivetrain/drivetrain_main.cc
index ce65e0c..ad28119 100644
--- a/y2016/control_loops/drivetrain/drivetrain_main.cc
+++ b/y2016/control_loops/drivetrain/drivetrain_main.cc
@@ -21,6 +21,5 @@
event_loop.Run();
- ::aos::Cleanup();
return 0;
}
diff --git a/y2016/control_loops/shooter/shooter_main.cc b/y2016/control_loops/shooter/shooter_main.cc
index 3545985..2b045fa 100644
--- a/y2016/control_loops/shooter/shooter_main.cc
+++ b/y2016/control_loops/shooter/shooter_main.cc
@@ -14,6 +14,5 @@
event_loop.Run();
- ::aos::Cleanup();
return 0;
}
diff --git a/y2016/control_loops/superstructure/superstructure_main.cc b/y2016/control_loops/superstructure/superstructure_main.cc
index 108a5a8..5f2cbb4 100644
--- a/y2016/control_loops/superstructure/superstructure_main.cc
+++ b/y2016/control_loops/superstructure/superstructure_main.cc
@@ -15,6 +15,5 @@
event_loop.Run();
- ::aos::Cleanup();
return 0;
}
diff --git a/y2016/dashboard/dashboard.cc b/y2016/dashboard/dashboard.cc
index 3361e96..74df0a5 100644
--- a/y2016/dashboard/dashboard.cc
+++ b/y2016/dashboard/dashboard.cc
@@ -307,6 +307,5 @@
socket_handler.Quit();
- ::aos::Cleanup();
return 0;
}
diff --git a/y2016/joystick_reader.cc b/y2016/joystick_reader.cc
index fbb91a5..e81942d 100644
--- a/y2016/joystick_reader.cc
+++ b/y2016/joystick_reader.cc
@@ -471,5 +471,5 @@
event_loop.Run();
- ::aos::Cleanup();
+ return 0;
}