Small wiki links asynctask improvement

This commit is contained in:
PaulStets 2018-04-24 10:53:42 +03:00
parent 8571e6ffad
commit ca4e50d805

View file

@ -250,7 +250,9 @@ public class WikivoyageArticleDialogFragment extends WikivoyageBaseDialogFragmen
@Override
public void onPause() {
super.onPause();
webViewClient.stopRunningAsyncTasks();
if (webViewClient != null) {
webViewClient.stopRunningAsyncTasks();
}
}
@Override