Until the last dog dies.

This idiom or expression means:

Forever.
For a very long time.

A. How long are you gonna stay here?
B. I’m gonna be here until the last dog dies.