mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2026-11-27 20:36:46 -08:00
Fix crash upon locking.
This commit is contained in:
1 parent
88f506f7ff
commit
085f2d86dc
1 file changed
+7
-2
@@ -169,9 +169,14 @@ public class EntryActivity extends LockCloseActivity {
|
||||
|
||||
@Override
|
||||
protected void onDestroy() {
|
||||
unregisterReceiver(mIntentReceiver);
|
||||
// These members might never get initialized if the app timed out
|
||||
if ( mIntentReceiver != null ) {
|
||||
unregisterReceiver(mIntentReceiver);
|
||||
}
|
||||
|
||||
mNM.cancelAll();
|
||||
if ( mNM != null ) {
|
||||
mNM.cancelAll();
|
||||
}
|
||||
|
||||
super.onDestroy();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user