/[projects]/android/TrainInfo/src/dk/thoerup/traininfo/StationList.java
ViewVC logotype

Diff of /android/TrainInfo/src/dk/thoerup/traininfo/StationList.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1024 by torben, Wed Aug 25 06:18:13 2010 UTC revision 1025 by torben, Tue Aug 31 08:49:15 2010 UTC
# Line 145  public class StationList extends ListAct Line 145  public class StationList extends ListAct
145          protected void onDestroy() {          protected void onDestroy() {
146                  super.onDestroy();                  super.onDestroy();
147                                    
148                  if (findStationsTask != null) {                  isRunning = false;
149                          findStationsTask.cancel(true);                  
                 }  
150                  if (locationLookup != null) {                  if (locationLookup != null) {
151                          locationLookup.stopSearch();                          locationLookup.stopSearch();
152                  }                  }
153                  isRunning = false;                  if (findStationsTask != null) {
154                            findStationsTask.cancel(true);
155                    }              
156          }          }
157    
158                    

Legend:
Removed from v.1024  
changed lines
  Added in v.1025

  ViewVC Help
Powered by ViewVC 1.1.20