--- android/TrainInfo/src/dk/thoerup/traininfo/DepartureList.java 2010/06/26 10:50:34 917 +++ android/TrainInfo/src/dk/thoerup/traininfo/DepartureList.java 2010/06/26 11:02:53 918 @@ -135,8 +135,19 @@ outState.putSerializable("departures", (ArrayList) departures); } + + @Override + protected void onDestroy() { + super.onDestroy(); + + if (fetcher != null) { + fetcher.cancel(true); + } + } + + @Override protected void onListItemClick(ListView l, View v, int position, long id) { super.onListItemClick(l, v, position, id);