realm / realm-kotlin

Kotlin Multiplatform and Android SDK for the Realm Mobile Database: Build Better Apps Faster.
Apache License 2.0
889 stars 52 forks source link

Fix race condition in ProgressListenerTest #1633

Closed cmelchior closed 5 months ago

cmelchior commented 5 months ago

Closes #1628

This race condition was hit on GitHub Actions, and was hit when we called Realm.close() before the async task could run. This resulted in an exception about a closed pointer when flow.collect { } was subsequently called.

cmelchior commented 5 months ago

Replaced by https://github.com/realm/realm-kotlin/pull/1645