onClose method
Initiates the closure of all managed SingleAutoClosable
and
SubAutoClosable
instances. The onClose
operation handles the closure
of these instances in accordance with the Closer
's own lifecycle.
Implementation
@override
void onClose() {
clearClosables(subClosables, attachedSubAutoclosables);
clearClosables(closables, attachedAutoclosables);
}