mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-03-26 08:54:42 +01:00
Do a GC after processing each photo
This will probably do nothing in practice, but at least we tried...
This commit is contained in:
parent
762fe521b2
commit
f3f72619cd
1 changed files with 1 additions and 0 deletions
|
@ -398,6 +398,7 @@ private open class ImageProcessorCommandTask(context: Context) :
|
|||
val cmd = params[0]!!
|
||||
return try {
|
||||
val outUri = handleCommand(cmd)
|
||||
System.gc()
|
||||
ImageProcessorCompletedEvent(outUri)
|
||||
} catch (e: Throwable) {
|
||||
Log.e(TAG, "[doInBackground] Failed while handleCommand", e)
|
||||
|
|
Loading…
Add table
Reference in a new issue