From 814d8c99fa65565c40b0b41dd5ecaf1dadf44470 Mon Sep 17 00:00:00 2001 From: lxowalle Date: Wed, 7 Aug 2024 17:26:47 +0800 Subject: [PATCH] fix mmf not release --- components/vision/port/maixcam/maix_camera_mmf.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/vision/port/maixcam/maix_camera_mmf.cpp b/components/vision/port/maixcam/maix_camera_mmf.cpp index c89c4a62..c93cc101 100644 --- a/components/vision/port/maixcam/maix_camera_mmf.cpp +++ b/components/vision/port/maixcam/maix_camera_mmf.cpp @@ -278,6 +278,8 @@ namespace maix::camera log::error("mmf del vi channel failed"); } } + + mmf_deinit(); } camera::Camera *Camera::add_channel(int width, int height, image::Format format, int fps, int buff_num, bool open)