camera/camera-core/src/main/java/androidx/camera/core/CaptureProcessorPipeline.java
/**
     * Closes the objects generated when creating the {@link CaptureProcessorPipeline}.
     */
Closes the objects generated when creating the  CaptureProcessorPipeline.
Closes the objects generated when creating the CaptureProcessorPipeline .
@Override
    public void close() {
        synchronized (mLock) {
            if (mClosed) {
                return;
            }
            mClosed = true;
        }
        mPreCaptureProcessor.close();
        mPostCaptureProcessor.close();
        closeAndCompleteFutureIfNecessary();
    }
@ Override public void close ( ) { synchronized ( mLock ) { if ( mClosed ) { return ; } mClosed = true ; } mPreCaptureProcessor . close ( ) ; mPostCaptureProcessor . close ( ) ; closeAndCompleteFutureIfNecessary ( ) ; }
Closes the objects generated when creating the {@link CaptureProcessorPipeline}.
Closes the objects generated when creating the { @link CaptureProcessorPipeline } .