removeScopedBind method

bool removeScopedBind()
inherited

Implementation

bool removeScopedBind() {
  final totalBind = _singletonBinds.length;
  _singletonBinds.removeWhere((key, singletonBind) {
    if (singletonBind.bind.isScoped) {
      _executeDisposeImplementation(singletonBind);
      return true;
    }
    return false;
  });

  return totalBind != _singletonBinds.length;
}