This fixes a deadlock that would occur when executing a task graph with some task failing arising due to the state guard being insufficient in that it didn't restore the current fence back to the signaled state, leading any subsequent wait on the flight to deadlock, including dropping Resources.
This fixes a deadlock that would occur when executing a task graph with some task failing arising due to the state guard being insufficient in that it didn't restore the current fence back to the signaled state, leading any subsequent wait on the flight to deadlock, including dropping
Resources
.