YTA for involving your kids or doing it in front of them. That is their mother, and no matter what transpired between the two of you, your kids' world was obliterated. It's insensitive and unnecessary.