|
![]() |
#1 |
Дмитрий Ерин
|
Re: Как правильно удалить динамический массив контейнеров ?!
Цитата:
Изначально опубликовано woland666
Надо ли вообще убирать за собой?! ![]() Developer's Guide: Цитата:
De-allocation of objects
Since objects need to be allocated, they also need to be de-allocated to preserve memory. In other languages this has to be done explicitly, but in X++ it is done automatically. MorphX monitors the use of objects (the number of references to an allocated memory chunk), and when no objects reference a chunk of memory, the memory is released. This mechanism is known as garbage-collection. |
|