Removes warning

hh
Laurent 6 years ago
parent 8abd8021a0
commit 098c8014d7
  1. 3
      app/src/main/java/net/pokeranalytics/android/ui/modules/handhistory/model/HandHistoryViewModel.kt

@ -616,13 +616,14 @@ class HandHistoryViewModel : ViewModel(), RowRepresentableDataSource, CardCentra
private fun defineWinnerPositions() {
GlobalScope.launch(coroutineContext) {
GlobalScope.async {
val c = GlobalScope.async {
val realm = Realm.getDefaultInstance()
realm.executeTransaction {
handHistory.defineWinnerPositions()
}
realm.close()
}
c.await()
}
}

Loading…
Cancel
Save