单项选择题

I felt somewhat disappointed and was about to leave ______ something occurred which attracted my attention.

A.unless
B.when
C.until
D.while