static synchronized void unregister(@NotNull Component component) {
    LOG.debug("UNREGISTER: component %s", component);

    final @Nullable ComponentActions componentActions = ourComp2Actions.remove(component);
    if (componentActions == null) {
      LOG.debug("UNREGISTER: component '%s' hasn't any actions", component);
      return;
    }

    componentActions.clearCachedTouchbars();
  }
static synchronized void unregister(@NotNull Component component)