Skip to content

Commit d72f6d7

Browse files
committed
temporal player memory leaking fix: upd comment
1 parent afb1991 commit d72f6d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

smarttubetv/src/main/java/com/liskovsoft/smartyoutubetv2/tv/ui/playback/PlaybackActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ public void finish() {
181181
getViewManager().blockTop(this);
182182
getViewManager().startParentView(this);
183183
} else {
184-
// NOTE: temporal player memory leaking fix (Activities num grow with every player start)!
184+
// NOTE: don't destroy player to prevent leaking (Activities num grow with every player start)!
185185
// The command to check: adb shell dumpsys meminfo org.smarttube.stable
186186
getViewManager().startParentView(this);
187187
// Player with TextureView keeps running in background because onStop() fired with huge delay (~5sec).

0 commit comments

Comments
 (0)