1
0
Fork 0
mirror of https://github.com/TeamNewPipe/NewPipe.git synced 2025-10-05 02:39:29 +02:00

Merge pull request #10085 from TacoTheDank/bumpLeakCanary

Update LeakCanary library
This commit is contained in:
Stypox 2023-07-12 19:05:38 +02:00 committed by GitHub
commit f8599d17c2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 4 deletions

View file

@ -81,7 +81,8 @@ public abstract class BaseFragment extends Fragment {
public void onDestroy() {
super.onDestroy();
AppWatcher.INSTANCE.getObjectWatcher().watch(this);
AppWatcher.INSTANCE.getObjectWatcher().expectWeaklyReachable(
this, "Watch for leaks from destroyed fragments.");
}
/*//////////////////////////////////////////////////////////////////////////