问题

It was not until he got to the office _____ he remembered _____ the key home.[ ]
A: when, leaving
B: when, to leave
C: that, leaving
D: that, to leave
B: when, to leave
C: that, leaving
D: that, to leave
正确答案是: