Change after PR review
This commit is contained in:
parent
c384a3de8d
commit
2a9ac539e4
@ -46,7 +46,7 @@ internal class EventInsertLiveObserver @Inject constructor(@SessionDatabase real
|
|||||||
observerScope.launch {
|
observerScope.launch {
|
||||||
lock.withLock {
|
lock.withLock {
|
||||||
if (!results.isLoaded || results.isEmpty()) {
|
if (!results.isLoaded || results.isEmpty()) {
|
||||||
return@launch
|
return@withLock
|
||||||
}
|
}
|
||||||
val idsToDeleteAfterProcess = ArrayList<String>()
|
val idsToDeleteAfterProcess = ArrayList<String>()
|
||||||
val filteredEvents = ArrayList<EventInsertEntity>(results.size)
|
val filteredEvents = ArrayList<EventInsertEntity>(results.size)
|
||||||
|
Loading…
Reference in New Issue
Block a user