-Added toggle for enabling leak canary heap dump.
This commit is contained in:
parent
622d698ff8
commit
829059ea01
7 changed files with 79 additions and 2 deletions
|
|
@ -71,8 +71,9 @@ public abstract class BaseFragment extends Fragment {
|
|||
@Override
|
||||
public void onDestroy() {
|
||||
super.onDestroy();
|
||||
|
||||
RefWatcher refWatcher = App.getRefWatcher(getActivity());
|
||||
refWatcher.watch(this);
|
||||
if (refWatcher != null) refWatcher.watch(this);
|
||||
}
|
||||
|
||||
/*//////////////////////////////////////////////////////////////////////////
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue