Depends ...
In tabletop its not so easy to wait when Barbarian ends his rage, bcs (unless your DM is especialy pedant) there is littealy no rule against attacking ... yourself!

So Barbarian without target in meele range can easily prolong his rage by beating his own chest as unarmed attack ... with resistance, the damage is minimal.
