void removeBloc(BlocBase bloc, {bool canClose = true}) { if (_entries.remove(_BlocCloserEntry(bloc))) { if (canClose) bloc.close(); } }