Fixed ROOM queue count

This commit is contained in:
M66B 2023-11-08 18:23:37 +01:00
parent be5e283838
commit e89fd07148
1 changed files with 4 additions and 1 deletions

View File

@ -151,7 +151,10 @@ class RoomTrackingLiveData<T> extends LiveData<T> {
protected void onActive() {
super.onActive();
mContainer.onActive(this);
getQueryExecutor().execute(mRefreshRunnable);
synchronized (lock) {
queued++;
getQueryExecutor().execute(mRefreshRunnable);
}
}
@Override