浏览代码

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.
Remi Rampin 5 年之前
父节点
当前提交
ccf5703568
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      doc/classes/Object.xml

+ 1 - 1
doc/classes/Object.xml

@@ -194,7 +194,7 @@
 			<return type="void">
 			</return>
 			<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>
 		</method>
 		<method name="get" qualifiers="const">