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

Commit 11740504 authored by Chetan Kalyan's avatar Chetan Kalyan Committed by Arne Coucheron
Browse files

BootAnimation: Remove active connections before invoking destructor

SurfaceComposerClient expects client connections to be cleared by native apps before the client is destroyed.

This allows bootAnimation to exit cleanly once it's done.

CRs fixed: 269481, 269571

Change-Id: I01a6e71bf44f2c6ae87777a2bdcfc40e73c838f4
parent c23a086f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -59,6 +59,7 @@ BootAnimation::BootAnimation() : Thread(false)
}

BootAnimation::~BootAnimation() {
    mSession->dispose();
}

void BootAnimation::onFirstRef() {