boundsDisposeScopeItself property

  1. @protected
bool get boundsDisposeScopeItself

Whether disposeScope bounds the stages behind it itself.

false here, and for every family with one stage behind that method: the teardown puts a single disposeScopeTimeout around it, and that is the whole of it.

Scope answers true. It has two stages there — the state's own teardown and the disposal of the dependency container — and one limit around both meant that a state which never finished cost the container its whole disposal: the wait was given up on, and what it gave up on was both halves at once. Bounding them again out here would bound them twice, and one hang would be reported by two timers.

Implementation

@protected
bool get boundsDisposeScopeItself => false;