cleanup

abstract fun cleanup()

Called when capture activity is being destroyed (when capture has been finished successfully or closed for any reason). Usually this method is used to free any resources used by the concrete filter implementation.