| 1115 | } |
| 1116 | |
| 1117 | void Scripting::UnregisterObject(ScriptingObject* obj) |
| 1118 | { |
| 1119 | ScopeLock lock(_objectsLocker); |
| 1120 | |
| 1121 | //ASSERT(!obj->_id.IsValid() || _objectsDictionary.ContainsValue(obj)); |
| 1122 | |
| 1123 | #if USE_OBJECTS_DISPOSE_CRASHES_DEBUGGING |
| 1124 | LOG(Info, "[UnregisterObject] obj = 0x{0:x}, {1}", (uint64)obj, String(ScriptingObjectData(obj).TypeName)); |
| 1125 | #endif |
| 1126 | _objectsDictionary.Remove(obj->GetID()); |
| 1127 | } |
| 1128 | |
| 1129 | void Scripting::OnObjectIdChanged(ScriptingObject* obj, const Guid& oldId) |
| 1130 | { |
no test coverage detected