Explorar o código

Document that autoloads must not be freed to avoid crashes

Hugo Locurcio %!s(int64=3) %!d(string=hai) anos
pai
achega
cb9b2b8c5d
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  1. 5 0
      tutorials/scripting/singletons_autoload.rst

+ 5 - 0
tutorials/scripting/singletons_autoload.rst

@@ -99,6 +99,11 @@ you'll see the autoloaded nodes appear:
 
 .. image:: img/autoload_runtime.png
 
+.. warning::
+
+    Autoloads must **not** be removed using ``free()`` or ``queue_free()`` at
+    runtime, or the engine will crash.
+
 Custom scene switcher
 ---------------------