pub unsafe extern "C-unwind" fn VTDecompressionSessionInvalidate(
session: &VTDecompressionSession,
)Available on crate feature
VTDecompressionSession only.Expand description
Tears down a decompression session.
When you are done with a decompression session you created, call VTDecompressionSessionInvalidate to tear it down and then CFRelease to release your object reference. When a decompression session’s retain count reaches zero, it is automatically invalidated, but since sessions may be retained by multiple parties, it can be hard to predict when this will happen. Calling VTDecompressionSessionInvalidate ensures a deterministic, orderly teardown.