Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clear finished discrete updates during commit phase
If a root is finished at a priority lower than that of the latest pending discrete updates on it, these updates must have been finished so we can clear them now. Otherwise, a later call of `flushDiscreteUpdates` would start a new empty render pass which may cause a scheduled timeout to be cancelled.
- Loading branch information