| 460 | } |
| 461 | |
| 462 | void ScriptingObject::OnDeleteObject() |
| 463 | { |
| 464 | // Cleanup managed object |
| 465 | DestroyManaged(); |
| 466 | |
| 467 | // Unregister |
| 468 | if (IsRegistered()) |
| 469 | UnregisterObject(); |
| 470 | |
| 471 | // Base |
| 472 | Object::OnDeleteObject(); |
| 473 | } |
| 474 | |
| 475 | String ScriptingObject::ToString() const |
| 476 | { |
nothing calls this directly
no test coverage detected