Fix NPE
This commit is contained in:
parent
6728d20a05
commit
ca4732b752
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