Skip to content

Commit e4e0fee

Browse files
committed
Reset backgroundProcessCount
1 parent b8641d2 commit e4e0fee

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

feature/work/src/main/java/com/shifthackz/aisdv1/work/task/TextToImageTask.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ internal class TextToImageTask(
5353
handleProcess()
5454
handleError(Throwable("Background process count > 0"))
5555
compositeDisposable.clear()
56+
preferenceManager.backgroundProcessCount = 0
5657
return Single.just(Result.failure())
5758
}
5859

0 commit comments

Comments
 (0)