code: function teardownAll() {
        var componentInfo = registry.findComponentInfo(this);
  
        componentInfo && Object.keys(componentInfo.instances).forEach(function(k) {
          var info = componentInfo.instances[k];
          // It's possible that a previous teardown caused another component to teardown,
          // so we can't assume that the instances object is as it was.
          if (info && info.instance) {
            info.instance.teardown();
          }
        });
      }
docs: teardown for all instances of this constructor