Explorar o código

Mention remove_node() side effect of potentially setting owner to null

zacryol %!s(int64=3) %!d(string=hai) anos
pai
achega
6941ab9ae5
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      doc/classes/Node.xml

+ 1 - 0
doc/classes/Node.xml

@@ -551,6 +551,7 @@
 			<argument index="0" name="node" type="Node" />
 			<description>
 				Removes a child node. The node is NOT deleted and must be deleted manually.
+				[b]Note:[/b] This function may set the [member owner] of the removed Node (or its descendants) to be [code]null[/code], if that [member owner] is no longer a parent or ancestor.
 			</description>
 		</method>
 		<method name="remove_from_group">