the end of the line; the end of the road; curtains
Idiomatic expression meaning that a situation has reached its final, often disastrous, conclusion; similar to 'it's all over' or 'game over'.
If he quits, it's the end of the line for this project.
When the funds ran out, it was curtains for the company.