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

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

Merge "Add a null check in RTSPSource::stop" into rvc-qpr-dev

parents 515608f3 2b5a68b7
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -146,7 +146,9 @@ void NuPlayer::RTSPSource::stop() {
    }

    // Close socket before posting message to RTSPSource message handler.
    if (mHandler != NULL) {
        close(mHandler->getARTSPConnection()->getSocket());
    }

    sp<AMessage> msg = new AMessage(kWhatDisconnect, this);