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

Commit a68e7b98 authored by Andreas Huber's avatar Andreas Huber
Browse files

Guard against mLooper == NULL.

Change-Id: I01aa0e47b55d0dffe34525edf9f055a5cb4dc70f
related-to-bug: 8620223
parent 5ce9c299
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -66,8 +66,10 @@ NuPlayer::RTSPSource::RTSPSource(
}

NuPlayer::RTSPSource::~RTSPSource() {
    if (mLooper != NULL) {
        mLooper->stop();
    }
}

void NuPlayer::RTSPSource::prepareAsync() {
    if (mLooper == NULL) {