summaryrefslogtreecommitdiffstats
path: root/camera/Camera.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'camera/Camera.cpp')
-rw-r--r--camera/Camera.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/camera/Camera.cpp b/camera/Camera.cpp
index 8620e71..f19c502 100644
--- a/camera/Camera.cpp
+++ b/camera/Camera.cpp
@@ -117,6 +117,7 @@ void Camera::disconnect()
LOGV("disconnect");
if (mCamera != 0) {
mCamera->disconnect();
+ mCamera->asBinder()->unlinkToDeath(this);
mCamera = 0;
}
}