diff options
author | Raul Santos <raulsntos@gmail.com> | 2021-07-27 22:48:49 +0200 |
---|---|---|
committer | Raul Santos <raulsntos@gmail.com> | 2022-08-07 20:35:56 +0200 |
commit | 87a1bca37bda8f45f987ac1fdaa78459d8844c08 (patch) | |
tree | 8952ab7f7134e1b30a4129873f153bc569bc11a4 /doc | |
parent | f754dd20be5d69cd94ea83ceee8c7fb72f5d3507 (diff) |
Fix typo in weakref documentation
Diffstat (limited to 'doc')
-rw-r--r-- | doc/classes/@GlobalScope.xml | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ <return type="Variant" /> <argument index="0" name="obj" type="Variant" /> <description> - 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. </description> </method> |