Remove redundant check in RealmCoordinator::advance_helper_shared_group_to_latest()

This commit is contained in:
Thomas Goyne 2016-01-12 12:55:27 -08:00
parent 4e18a99dfd
commit 8284340729

View File

@ -394,10 +394,8 @@ void RealmCoordinator::advance_helper_shared_group_to_latest()
query->attach_to(*m_query_sg);
}
if (!m_new_queries.empty()) {
move_new_queries_to_main();
m_advancer_sg->end_read();
}
move_new_queries_to_main();
m_advancer_sg->end_read();
}
void RealmCoordinator::advance_to_ready(Realm& realm)