Since it had started right back, this should not be a major problem. It could be just that the idling speed was too low and the engine computer did not react fast enough to prevent the engine from stalling as you were stopped.
Try getting the air intake circuit cleaned, usually entails cleaning the idle air control valve and throttle body.
SPONSORED LINKS
Monday, January 15th, 2018 AT 1:29 AM