Skip to content
Commit b65da76a authored by Liran Binyamin's avatar Liran Binyamin
Browse files

Use a SupervisorJob in BubbleDataRepository

Using a SupervisorJob ensures that if child coroutines
fail, the scope remains active and we can launch further
coroutines in it.

Also renamed the scope field to exclude io from it. Scopes
should be tied to lifetime of objects, not to dispatchers

Bug: 281083629
Test: Verified that bubbles are still persisted after adding
      new bubbles and reordering them.
Change-Id: I38cc755d5496bfd636d8a4e26f93a26843b0508a
parent 4b3863df
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment