mirror of
https://github.com/KokaKiwi/BarInsta
synced 2025-12-12 15:06:30 +00:00
Wrapping super.onDestroy in try-catch in MainActivity to workaround NavController crash
This commit is contained in:
parent
b99ee88c97
commit
abd6dd1143
1 changed files with 5 additions and 1 deletions
|
|
@ -220,7 +220,11 @@ public class MainActivity extends BaseLanguageActivity implements FragmentManage
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void onDestroy() {
|
protected void onDestroy() {
|
||||||
super.onDestroy();
|
try {
|
||||||
|
super.onDestroy();
|
||||||
|
} catch (Exception e) {
|
||||||
|
Log.e(TAG, "onDestroy: ", e);
|
||||||
|
}
|
||||||
unbindActivityCheckerService();
|
unbindActivityCheckerService();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue