Pet loss during pregnancy

I am 12 weeks 6 days and a few days ago DH and I had to put our 15 year old cat, Chloe, to sleep. We found out she had lung cancer three weeks ago and knew our time left with her was short. I've been on an emotional roller coaster ride the days leading up to her death and these past few days after. I know the stress is affecting the baby, but I can't stop crying. Upset over the fact that our baby won't ever meet our fur baby. Has anyone been through the grieving process while pregnant? I would appreciate any advice on how to deal with this.