From 87a1bca37bda8f45f987ac1fdaa78459d8844c08 Mon Sep 17 00:00:00 2001 From: Raul Santos Date: Tue, 27 Jul 2021 22:48:49 +0200 Subject: Fix typo in weakref documentation --- doc/classes/@GlobalScope.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/classes/@GlobalScope.xml b/doc/classes/@GlobalScope.xml index 658a13d05b..7a75823230 100644 --- a/doc/classes/@GlobalScope.xml +++ b/doc/classes/@GlobalScope.xml @@ -1125,7 +1125,7 @@ - Returns a weak reference to an object, or [code]null[/code] is the argument is invalid. + Returns a weak reference to an object, or [code]null[/code] if the argument is invalid. A weak reference to an object is not enough to keep the object alive: when the only remaining references to a referent are weak references, garbage collection is free to destroy the referent and reuse its memory for something else. However, until the object is actually destroyed the weak reference may return the object even if there are no strong references to it. -- cgit v1.2.3