Fix null exception from clean up

This commit is contained in:
Chet Henry
2014-11-20 21:47:21 -07:00
parent 213c3a6608
commit 88cddb1f2f

View File

@@ -162,7 +162,7 @@ public class StartActivity extends FragmentActivity
@Override
protected void onDestroy() {
mSearch.close();
if(mSearch != null) mSearch.close();
super.onDestroy();
}