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