Skip to content

Commit

Permalink
disable to deinit region
Browse files Browse the repository at this point in the history
  • Loading branch information
lxowalle committed May 30, 2024
1 parent 75ccc52 commit 29c88f7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions components/vision/port/maixcam/maix_rtsp_maixcam.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ namespace maix::rtsp
}

Region::~Region() {
if (mmf_del_region_channel(this->_id) < 0) {
err::check_raise(err::ERR_RUNTIME, "mmf_del_region_unused_channel failed!");
}
// if (mmf_del_region_channel(this->_id) < 0) {
// err::check_raise(err::ERR_RUNTIME, "mmf_del_region_unused_channel failed!");
// }
}

image::Image *Region::get_canvas() {
Expand Down

0 comments on commit 29c88f7

Please sign in to comment.