Skip to content

Commit c1192f2

Browse files
committed
Fix crash
1 parent add333f commit c1192f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

omegatypes/src/main/java/com/omega_r/libs/omegatypes/tools/StrippedBitmapExtractor.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ suspend fun stripeBitmapExtractor(
5656
(roughBitmap.height * values[4]).toInt(),
5757
true
5858
)
59-
if (autoRecycle && resizedBitmap == roughBitmap) {
59+
if (autoRecycle && resizedBitmap != roughBitmap) {
6060
roughBitmap.recycle()
6161
}
6262
return resizedBitmap

0 commit comments

Comments
 (0)