Check what a delayed flag also guards. One flag often gates two jobs.
concurrency/state
A step that discards shared state is ordered ahead of an operation that still reads or writes that state. The later operation finds the value gone, or its write puts the value back. The author relies on the order that holds on the path they tested, assuming nothing else touches the state after the discard.
Sign-out clears the saved destination and then flips the session flag, and the screen still mounted reacts to that flip by saving the destination again.
Not a missed cleanup or a path with no cleanup at all, as in cleanup on one exit path only: the cleanup here runs, but it runs at the wrong point relative to a pending user of the same state.
Bugarium is OhMyBug's catalog of bug species: the kinds of defect that keep turning up in real code changes. Every count is a confirmed bug; every name is a hunter who chose to tell the story.