Fixed PdGraph destructor crashing when deleting an object from another graph