|
|
@@ -106,9 +106,13 @@ public abstract class BaseActivity extends AppCompatActivity {
|
|
|
|
|
|
@Override
|
|
|
protected void onDestroy() {
|
|
|
- super.onDestroy();
|
|
|
- if (this.unbinder != null) {
|
|
|
- this.unbinder.unbind();
|
|
|
+ try {
|
|
|
+ super.onDestroy();
|
|
|
+ if (this.unbinder != null) {
|
|
|
+ this.unbinder.unbind();
|
|
|
+ }
|
|
|
+ } catch (Exception e) {
|
|
|
+ e.printStackTrace();
|
|
|
}
|
|
|
}
|
|
|
}
|