Closed mikaelgoldmann closed 9 years ago
@pettermahlen Yes, the fireRecordsUpdated can be call from different threads: a polling thread and a thread calling setListener(listener, true). If there is an update right then, the old result can reach the listener after the new result, and the state will remain until there is another update from the polling thread.
:+1: thanks!
Nice catch! I don't fully understand from the test how the race manifests itself, but I guess it turns into a missed listener update?