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.
This commit is contained in:
Remi Rampin 2020-05-16 12:32:41 -04:00 committed by GitHub
parent d784cb23ec
commit ccf5703568
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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">