优化观众直播间PortraitLiveManager的强引用导致的内存泄漏

This commit is contained in:
2022-12-05 16:20:15 +08:00
parent 17d18eff98
commit 3e7942dbd4
12 changed files with 62 additions and 26 deletions

View File

@@ -230,6 +230,7 @@ dependencies {
annotationProcessor rootProject.ext.dependencies["arouter-compiler"]
// implementation rootProject.ext.dependencies["leakcanary"]
debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.10'
}

View File

@@ -1,4 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">PDLIVE</string>
<string name="leak_canary_test_class_name">assertk.Assert</string>
</resources>