unregisterObject() — dynamically unregister an object
void unregisterObject(string object_name);
See also registerObject() and objects section
registerObject()