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:
Eric House 2021-01-19 10:05:49 -08:00
parent fb8d86c5da
commit fafbac7a4e

View file

@ -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 );
}
}
}