Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9321dc86 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "MediaPlayer2: call close when reset"

parents f7ad0ee1 17459336
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -354,6 +354,9 @@ NuPlayer2::GenericSource::~GenericSource() {
        mLooper->unregisterHandler(id());
        mLooper->stop();
    }
    if (mDataSource != NULL) {
        mDataSource->close();
    }
    resetDataSource();
}