Mobile factories don't destroy unit they produce when they die
- spawn mobile factory
- start producing unit
- kill mobile factory

I can't reproduce this - the units appear to be removed accordingly.
I can reproduce it every time in current fafdevelop
On FAF Develop, see replay: https://replay.faforever.com/17278778 https://user-images.githubusercontent.com/15778155/173329980-b584c956-2fa3-41c3-91ef-8a9b1a1a1320.mp4
Looking at the code the unit is not destroyed separately, but neither does that happen for non-mobile factories. What am I missing that I can't see the lingering health bar?
edit: the same behavior happens when the unit is built up to a certain amount - the health bar shows for a tick and then disappears.