unregister_object

void unregister_object (string object_name)

Use this to unregister an object.