question: @ SuppressLint ( "Assert" ) void release ( ) { assert ( mProcessingThread . getState ( ) == State . TERMINATED ) ; mDetector . release ( ) ; mDetector = null ; }
target:  Releases the underlying receiver.  This is only safe to do after the associated thread has completed, which is managed in camera source's release method above.