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

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

Fix shutdown if HDCP was never instantiated.

Change-Id: Icdf6785880180f417c5432dff54c7e0fb12ef84d
related-to-bug: 7247918
parent 23f74017
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -1140,9 +1140,11 @@ void WifiDisplaySource::finishStop2() {
    ALOGV("finishStop2");

#if REQUIRE_HDCP
    if (mHDCP != NULL) {
        mHDCP->setObserver(NULL);
        mHDCPObserver.clear();
        mHDCP.clear();
    }
#endif

    if (mSessionID != 0) {