mirror of
https://github.com/openharmony/ace_engine_lite.git
synced 2026-07-19 13:31:06 -04:00
!497 fix camera app blue issue when stop recording
Merge pull request !497 from starfish/master
This commit is contained in:
@@ -291,7 +291,7 @@ void CameraComponent::ReleaseNativeViews()
|
||||
if (cameraCallback_ != nullptr) {
|
||||
Media::Camera *camera = const_cast<Media::Camera *>(cameraCallback_->GetCameraInstance());
|
||||
if (camera != nullptr) {
|
||||
camera->StopLoopingCapture();
|
||||
camera->StopLoopingCapture(-1);
|
||||
}
|
||||
cameraCallback_.reset();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user