Commit 7536a25b by Haruki Hasegawa

Call removeCallbacksAndMessages() in MediaController#release()

This fixes the NPE ocuured in the MediaControllerImplLegacy#connectToSession()
right after MediaController#release() is called.
parent db1a1dc4
......@@ -417,6 +417,7 @@ public class MediaController implements Player {
return;
}
released = true;
applicationHandler.removeCallbacksAndMessages(null);
try {
impl.release();
} catch (Exception e) {
......
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