Skip to content

Commit

Permalink
Change after PR review
Browse files Browse the repository at this point in the history
  • Loading branch information
ganfra authored and bmarty committed Jun 13, 2022
1 parent c384a3d commit 2a9ac53
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ internal class EventInsertLiveObserver @Inject constructor(@SessionDatabase real
observerScope.launch {
lock.withLock {
if (!results.isLoaded || results.isEmpty()) {
return@launch
return@withLock
}
val idsToDeleteAfterProcess = ArrayList<String>()
val filteredEvents = ArrayList<EventInsertEntity>(results.size)
Expand Down

0 comments on commit 2a9ac53

Please sign in to comment.