Merge pull request #4195 from osmandapp/fix_npe_23_line

Fix NPE
This commit is contained in:
vshcherb 2017-07-24 17:33:36 +02:00 committed by GitHub
commit ec614dbb53

View file

@ -295,7 +295,9 @@ public class ContributionVersionActivity extends OsmandListActivity {
this.activity.runOnUiThread(new Runnable() { this.activity.runOnUiThread(new Runnable() {
@Override @Override
public void run() { public void run() {
activity.endThreadOperation(operationId, e); if (activity != null) {
activity.endThreadOperation(operationId, e);
}
} }
}); });
} }