static synchronized void clearAll() {
    LOG.debug("Clear all actions (disable touchbar suppoprt)");

    ourStacks.forEach((w, s) -> {
      NST.setTouchBar(w, null);
    });
    ourStacks.clear();

    ourComp2Actions.forEach((c, ca) -> {
      if (ca == null) {
        LOG.debug("clearAll: component '%s' hasn't any actions", c);
        return;
      }
      ca.clearCachedTouchbars();
    });
    ourComp2Actions.clear();
  }
static synchronized void clearAll()