Navigation:  Reference > Utility Functions >

FreeObject

Previous pageReturn to chapter overviewNext page

FreeObject( o: Object)

Any object created with a Create*() function that is not added into a map (such as a system or route) should be freed by sending it into this function.  For example, if you create a body that you do not use in your map, free the memory it is using it by using this function when you no longer need to reference the object.  Do not free objects that you add into a map, such as bodies or routes that you intend to save.