summaryrefslogtreecommitdiffstats
path: root/cmds
diff options
context:
space:
mode:
authorChetan Kalyan <ckalyan@codeaurora.org>2011-01-05 17:49:11 -0800
committerArne Coucheron <arco68@gmail.com>2011-10-20 05:51:41 +0200
commit11740504ec516c28783f589931ba4b138416a9a0 (patch)
treeed2455089bdf6ff970cce329521598fceb8cb0d5 /cmds
parentc23a086fbef83c65a029cf809e6512fa7de08275 (diff)
downloadframeworks_base-11740504ec516c28783f589931ba4b138416a9a0.zip
frameworks_base-11740504ec516c28783f589931ba4b138416a9a0.tar.gz
frameworks_base-11740504ec516c28783f589931ba4b138416a9a0.tar.bz2
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
Diffstat (limited to 'cmds')
-rw-r--r--cmds/bootanimation/BootAnimation.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmds/bootanimation/BootAnimation.cpp b/cmds/bootanimation/BootAnimation.cpp
index 7a7f8ed..c9aa6f0 100644
--- a/cmds/bootanimation/BootAnimation.cpp
+++ b/cmds/bootanimation/BootAnimation.cpp
@@ -59,6 +59,7 @@ BootAnimation::BootAnimation() : Thread(false)
}
BootAnimation::~BootAnimation() {
+ mSession->dispose();
}
void BootAnimation::onFirstRef() {