Disconnect from the video capture device, and destroy the video capture context
#include <vcapture/capture.h>
void capture_destroy_context(capture_context_t context)
When this function returns, you can safely release the video capture buffers you have been using with this context.
This function is not signal handler safe! You must create a separate clean-up thread for signal handling. This signal-handling thread can destroy the capture context by instructing another thread to call capture_destroy_context().
Nothing.