mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2025-12-04 15:49:33 +01:00
Implement additional guard against garbage collected Database.
This commit is contained in:
@@ -37,6 +37,11 @@ public class SearchResults extends GroupBaseActivity {
|
||||
super.onCreate(savedInstanceState);
|
||||
setResult(KeePass.EXIT_NORMAL);
|
||||
|
||||
// Likely the app has been killed exit the activity
|
||||
if ( KeePass.db == null ) {
|
||||
finish();
|
||||
}
|
||||
|
||||
mGroup = processSearchIntent(getIntent());
|
||||
assert(mGroup != null);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user