mirror of
https://github.com/KokaKiwi/BarInsta
synced 2024-12-23 21:36:59 +00:00
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
|
@Override
|
||||||
protected void onDestroy() {
|
protected void onDestroy() {
|
||||||
super.onDestroy();
|
try {
|
||||||
|
super.onDestroy();
|
||||||
|
} catch (Exception e) {
|
||||||
|
Log.e(TAG, "onDestroy: ", e);
|
||||||
|
}
|
||||||
unbindActivityCheckerService();
|
unbindActivityCheckerService();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user