summaryrefslogtreecommitdiff
path: root/src/android/cros/camera3_hal.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/android/cros/camera3_hal.cpp')
-rw-r--r--src/android/cros/camera3_hal.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/android/cros/camera3_hal.cpp b/src/android/cros/camera3_hal.cpp
index 31ad36ac..d6fc1d0f 100644
--- a/src/android/cros/camera3_hal.cpp
+++ b/src/android/cros/camera3_hal.cpp
@@ -7,12 +7,15 @@
#include <cros-camera/cros_camera_hal.h>
+#include "../camera_hal_manager.h"
+
static void set_up(cros::CameraMojoChannelManagerToken *token)
{
}
static void tear_down()
{
+ delete CameraHalManager::instance();
}
cros::cros_camera_hal_t CROS_CAMERA_EXPORT CROS_CAMERA_HAL_INFO_SYM = {