App: [skip ci] AddressSanitizer: heap-use-after-free
App: [skip ci] AddressSanitizer: heap-use-after-free

In Document::removeObject() do not access object after it has been possibly deleted

Fat-Zer/FreeCAD_sf_master,Fat-Zer/FreeCAD_sf_master,Fat-Zer/FreeCAD_sf_master,Fat-Zer/FreeCAD_sf_master,Fat-Zer/FreeCAD_sf_master