Revert "Fix use after free when removing a hung process."
Revert "Fix use after free when removing a hung process."

This change causes CI warnings and was likely the wrong fix.

This reverts commit a72fc0c2cd2fb4000028398d6390a715e979b50f.

GNOME/at-spi2-core,GNOME/at-spi2-core,GNOME/at-spi2-core