fix: clean mapping

This commit is contained in:
Hazel 2024-04-17 18:00:41 +02:00
parent 56101d4a31
commit 7e4ba0b1a0

View File

@ -228,6 +228,7 @@ class Collection(Generic[T]):
else: else:
# merge only if the two objects are not the same # merge only if the two objects are not the same
if existing_object.id == __object.id: if existing_object.id == __object.id:
exit()
return return
append_to._unmap_element(existing_object) append_to._unmap_element(existing_object)