Fix NPE
This commit is contained in:
parent
17d8f70da7
commit
5471656990
1 changed files with 3 additions and 1 deletions
|
@ -295,7 +295,9 @@ public class ContributionVersionActivity extends OsmandListActivity {
|
|||
this.activity.runOnUiThread(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
activity.endThreadOperation(operationId, e);
|
||||
if (activity != null) {
|
||||
activity.endThreadOperation(operationId, e);
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue