addClosable method
Add SingleAutoClosable instance to that Closer to handle its destruction when onClose called
Implementation
@override
void addClosable(SingleAutoClosable closable) {
if (!attachedAutoclosables.contains(closable)) {
attachedAutoclosables.add(closable);
closables.add(closable);
}
}