Commit 874d1be8 by olly Committed by Oliver Woodman

stopInternal should release MediaSource

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=176763841
parent 2537e883
......@@ -766,7 +766,7 @@ import java.io.IOException;
}
private void stopInternal() {
resetInternal(/* releaseMediaSource= */ false, /* resetPosition= */ false);
resetInternal(/* releaseMediaSource= */ true, /* resetPosition= */ false);
loadControl.onStopped();
setState(Player.STATE_IDLE);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment