Skip to content

Commit fdd8b76

Browse files
committed
Fix DebugApp doing unneeded AppWatcher.manualInstall
1 parent 8cfba40 commit fdd8b76

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

app/src/debug/java/org/schabi/newpipe/DebugApp.kt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ package org.schabi.newpipe
33
import androidx.preference.PreferenceManager
44
import com.facebook.stetho.Stetho
55
import com.facebook.stetho.okhttp3.StethoInterceptor
6-
import leakcanary.AppWatcher
76
import leakcanary.LeakCanary
87
import okhttp3.OkHttpClient
98
import org.schabi.newpipe.extractor.downloader.Downloader
@@ -13,8 +12,6 @@ class DebugApp : App() {
1312
super.onCreate()
1413
initStetho()
1514

16-
// Give each object 10 seconds to be GC'ed, before LeakCanary gets nosy on it
17-
AppWatcher.manualInstall(this, retainedDelayMillis = 10000)
1815
LeakCanary.config = LeakCanary.config.copy(
1916
dumpHeap = PreferenceManager
2017
.getDefaultSharedPreferences(this).getBoolean(

0 commit comments

Comments
 (0)