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

Commit 371bfe96 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 am: 40db8afe

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

Change-Id: I7d82148d72726ac44e9545e84e80b021a346569b
parents 775ac580 40db8afe
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);