From ccf5703568ab7c33723f322088c83a7d9ebcf5a8 Mon Sep 17 00:00:00 2001 From: Remi Rampin Date: Sat, 16 May 2020 12:32:41 -0400 Subject: [PATCH] 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. --- doc/classes/Object.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/classes/Object.xml b/doc/classes/Object.xml index c331394d815..4ee2b721e35 100644 --- a/doc/classes/Object.xml +++ b/doc/classes/Object.xml @@ -194,7 +194,7 @@ - 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].