Skip to content

Commit

Permalink
chore: add missing blank lines.
Browse files Browse the repository at this point in the history
  • Loading branch information
yujunetee committed Jan 20, 2025
1 parent af70fcc commit c78046f
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ import kotlinx.coroutines.launch
import java.io.ByteArrayOutputStream
import java.io.IOException
import kotlin.math.roundToInt

class MobileScanner(
private val activity: Activity,
private val textureRegistry: TextureRegistry,
Expand Down Expand Up @@ -151,8 +152,10 @@ class MobileScanner(
val byteArray = stream.toByteArray()
val bmWidth = bmResult.width
val bmHeight = bmResult.height

bmResult.recycle()
imageProxy.close()

mobileScannerCallback(
barcodeMap,
byteArray,
Expand Down

0 comments on commit c78046f

Please sign in to comment.