Wrapping super.onDestroy in try-catch in MainActivity to workaround NavController crash
This commit is contained in:
parent
b99ee88c97
commit
abd6dd1143
@ -220,7 +220,11 @@ public class MainActivity extends BaseLanguageActivity implements FragmentManage
|
||||
|
||||
@Override
|
||||
protected void onDestroy() {
|
||||
super.onDestroy();
|
||||
try {
|
||||
super.onDestroy();
|
||||
} catch (Exception e) {
|
||||
Log.e(TAG, "onDestroy: ", e);
|
||||
}
|
||||
unbindActivityCheckerService();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user