Small wiki links asynctask improvement
This commit is contained in:
parent
8571e6ffad
commit
ca4e50d805
1 changed files with 3 additions and 1 deletions
|
@ -250,7 +250,9 @@ public class WikivoyageArticleDialogFragment extends WikivoyageBaseDialogFragmen
|
|||
@Override
|
||||
public void onPause() {
|
||||
super.onPause();
|
||||
webViewClient.stopRunningAsyncTasks();
|
||||
if (webViewClient != null) {
|
||||
webViewClient.stopRunningAsyncTasks();
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue