Pārlūkot izejas kodu

Update description of Object.free() method

Clarify that variables pointing to an object don't become `null` when that object is freed, it just makes them invalid.

(cherry picked from commit ccf5703568ab7c33723f322088c83a7d9ebcf5a8)
Remi Rampin 5 gadi atpakaļ
vecāks
revīzija
55bad66447
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      doc/classes/Object.xml

+ 1 - 1
doc/classes/Object.xml

@@ -192,7 +192,7 @@
 			<return type="void">
 			<return type="void">
 			</return>
 			</return>
 			<description>
 			<description>
-				Deletes the object from memory. Any pre-existing reference to the freed object will now return [code]null[/code].
+				Deletes the object from memory. Any pre-existing reference to the freed object will become invalid, e.g. [code]is_instance_valid(object)[/code] will return [code]false[/code].
 			</description>
 			</description>
 		</method>
 		</method>
 		<method name="get" qualifiers="const">
 		<method name="get" qualifiers="const">