godotengine / godot-docs

Godot Engine official documentation
https://docs.godotengine.org
Other
3.94k stars 3.22k forks source link

Tutorial section on servers shows only how to allocate new instances #6683

Open Calandiel opened 1 year ago

Calandiel commented 1 year ago

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

clayjohn commented 1 year ago

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().