You just need to leave. I've had the same issue, but it was more fucked up, my ex told me he loved me, and I asked him a week later if he loved me, he said no. At least yours is a bit less heartbreaking. You need to realize that you can still love him, you just aren't commited to him anymore. It's okay to not be or get over it. But just remember, he'll always be there, but those emotions won't. It's hard, but you just need to put your focus on something else.