Changed asynktask's cancel to false
This commit is contained in:
parent
4384f4ddd5
commit
668449c0af
1 changed files with 2 additions and 2 deletions
|
@ -201,10 +201,10 @@ public class WikivoyageWebViewClient extends WebViewClient implements RegionCall
|
|||
|
||||
public void stopRunningAsyncTasks() {
|
||||
if (articleSearchTask != null && articleSearchTask.getStatus() == AsyncTask.Status.RUNNING) {
|
||||
articleSearchTask.cancel(true);
|
||||
articleSearchTask.cancel(false);
|
||||
}
|
||||
if (fetchRegionTask != null && fetchRegionTask.getStatus() == AsyncTask.Status.RUNNING) {
|
||||
fetchRegionTask.cancel(true);
|
||||
fetchRegionTask.cancel(false);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue