The ones I drive don't cut out at the lights, but at the bus stops when the doors have been opened with the handbrake on.
Maybe there's 2 different types, but I'd have thought buses cutting out at traffic lights, or potentially a junction if using the handbrake, is dangerous, if not...