The dispensing device has a dosing device (DO) comprising a rotary valve with a cellular wheel (ZR) rotatable about an axis of rotation, where the cellular wheel has dosing cells (DZ) that are distributedly arranged around the axis of rotation. The cellular wheel is rotatable during outputting of granules by a drive device in a working direction of rotation (AR). An electrically operated shut-off device is arranged in an output line (AL), where the output line is shut-off by the shut-off device when a stop signal is triggered.