Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set return pointer when reusing current tree
We always set the return pointer on freshly cloned, work-in-progress fibers. However, we were neglecting to set them on trees that are reused from current. I fixed this in the same path of the complete phase where we reset the fiber flags. This is a code smell because it assumes the commit phase is never concurrent with the render phase. Our eventual goal is to make fibers a lock free data structure. Will address further during refactor to alternate model.
- Loading branch information