mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-12 08:47:50 +01:00
catch rare NPE
I got this crash once. This hack avoids it at no cost until I can track it down.
This commit is contained in:
parent
fb8d86c5da
commit
fafbac7a4e
1 changed files with 5 additions and 1 deletions
|
@ -120,7 +120,11 @@ class InvitesNeededAlert {
|
|||
DbgUtils.assertOnUIThread();
|
||||
if ( null != mAlert ) {
|
||||
InviteChoicesAlert.dismissAny();
|
||||
mAlert.dismiss();
|
||||
try {
|
||||
mAlert.dismiss(); // I've seen this throw a NPE inside
|
||||
} catch ( Exception ex ) {
|
||||
Log.ex( TAG, ex );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue