diff --git a/rosen/modules/render_service/core/pipeline/rs_render_service_connection.cpp b/rosen/modules/render_service/core/pipeline/rs_render_service_connection.cpp index 208a44bbec..7f0c289fa5 100644 --- a/rosen/modules/render_service/core/pipeline/rs_render_service_connection.cpp +++ b/rosen/modules/render_service/core/pipeline/rs_render_service_connection.cpp @@ -876,6 +876,13 @@ void RSRenderServiceConnection::TakeSurfaceCapture(NodeId id, sptrOnSurfaceCapture(id, nullptr); + return; + } if (RSUniRenderJudgement::IsUniRender()) { TakeSurfaceCaptureForUiParallel(id, callback, captureConfig); } else {