@Override public void cleanup() { super.cleanup(); for (AbstractShipMarkerControl control : shipControls) { control.setEnabled(false); Spatial spatial = control.getSpatial(); if (spatial != null) { spatial.removeControl(control); } } shipControls.clear(); }