Car shuts off when hot, air bubbles in fuel filter

Idling for that long?? Fuel percolating maybe?