         if cell is _AssetsCaptureVideoPreviewCollectionCell {
             imagePickerController._captureDisplayQueue.async { [weak self] in
                 guard let wself = self else { return }
-                if let index = wself.imagePickerController._captureDisplayViews.index(of: wself._captureDisplayView) {
-                    wself.imagePickerController._captureDisplayViews.remove(at: index)
-                }
-            }
-            imagePickerController._captureSessionQueue.async {
-                if self.imagePickerController._captureDisplayViews.isEmpty && self.imagePickerController._captureSession.isRunning {
-                    self.imagePickerController._captureSession.stopRunning()
-                }
+                wself._captureDisplayView.isDrawingEnabled = false
             }
         }
     }

        CVPixelBufferUnlockBaseAddress(imageBuffer, CVPixelBufferLockFlags(rawValue: 0))
        
        guard let rotateCtx = CGContext(data: nil, width: height, height: width, bitsPerComponent: 8, bytesPerRow: bytesPerRow, space: colorSpace, bitmapInfo: bitmapInfo) else {return nil }
        rotateCtx.translateBy(x: 0.0, y: CGFloat(width))
        rotateCtx.rotate(by: -CGFloat.pi * 0.5)
        rotateCtx.draw(_originalImage, in: CGRect(origin: .zero, size: CGSize(width: width, height: height)))
        guard let _image = rotateCtx.makeImage() else { return nil }


        _captureVideoPreviewCell?.contentView.bottomAnchor.constraint(equalTo: _captureDisplayView.bottomAnchor).isActive = true
        _captureVideoPreviewCell?.contentView.setNeedsLayout()
        _captureVideoPreviewCell?.contentView.layoutIfNeeded()
    }
}

