Leaving activities

My son loves the slides in play areas. Whenver its time to leave he will have a full on meltdown. What do other parents/carers do to reduce this?