I want to remove object itself by function of it from a object collection. If I code like below does it course to reference cycle or any other error.