Skip to content

Commit

Permalink
[feat/bitmap_resizing]: 비트맵 메모리 할당 해제
Browse files Browse the repository at this point in the history
  • Loading branch information
soopeach committed Sep 6, 2023
1 parent 60765dc commit 73ee78c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ object BitmapUtils {
outputStream = FileOutputStream(file)
this.compress(Bitmap.CompressFormat.JPEG, 90, outputStream)
outputStream.flush()
this.recycle()
return file
} catch (e: IOException) {
e.printStackTrace()
Expand Down

0 comments on commit 73ee78c

Please sign in to comment.