Sounds to me like he was trying to manipulate you. Maybe he thought if he told you he was leaving you would fall apart, beg him to stay, promise to be a better codie and try harder to enable him more. Did that come out as sarcastic as I meant it to?
I bet he was surprized to find out how strong you can be... ready or not.