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

Commit edeeb06c 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 am:...

Merge "Add a null check in RTSPSource::stop" am: 2a692162 am: 40db8afe am: 371bfe96 am: 932ca9fb am: 7adaefea

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

Change-Id: Icd35a9b6e24a9f2e807616ea55464619f71798e0
parents bef42cf2 7adaefea
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);