mirror of
https://github.com/skyline-emu/skyline.git
synced 2025-02-11 20:28:56 +01:00
![PixelyIon](/assets/img/avatar_default.png)
If an object is attached to a `FenceCycle` twice then it would cause `FenceCycleDependency::next` to be overwritten and lead to destruction of dependencies prior to the fence being signaled causing usage of deleted resources. This commit fixes this by tracking what fence cycle a dependency is currently attached to and doesn't reattach if it's already attached to the current fence cycle.