godot-docs icon indicating copy to clipboard operation
godot-docs copied to clipboard

Tutorial section on servers shows only how to allocate new instances

Open Calandiel opened this issue 2 years ago • 1 comments

Your Godot version: 4.0 beta 11

Issue description: Documentation for optimization using servers talks about manual memory management (They are allocated and freed manually.) but examples only show how to create new instances, not how to free them. This seems like a slight oversight. Perhaps adding one more section at the end for freeing allocated instances could help?

URL to the documentation page (if already existing): https://docs.godotengine.org/en/latest/tutorials/performance/using_servers.html https://docs.godotengine.org/en/latest/tutorials/performance/using_servers.html#instantiating-a-mesh-into-3d-space

Calandiel avatar Jan 27 '23 06:01 Calandiel

That is a good idea. It can probably just be a single sentence at the end of the section as everything is freed with free().

clayjohn avatar Jan 27 '23 06:01 clayjohn