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

Commit 40db8afe authored by Dichen Zhang's avatar Dichen Zhang Committed by Automerger Merge Worker
Browse files

Merge "Add a null check in RTSPSource::stop" am: 2a692162

Original change: https://android-review.googlesource.com/c/platform/frameworks/av/+/1456267

Change-Id: Ibced2bb5ad51825c9dd31a9b69649f16774fca08
parents dca14d27 2a692162
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);