Created
November 30, 2020 12:03
-
-
Save yektasarioglu/541e09b2865e962ced815f6ff2f4efed to your computer and use it in GitHub Desktop.
Releasing Analyzer resources
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| private fun releaseDetectionResources() { | |
| if (analyzer != null) { | |
| try { | |
| analyzer!!.stop() | |
| } catch (e: IOException) { | |
| Log.e(TAG, "Exception is $e") | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment