godotengine / godotengine/godot-docs

RefCounted.free() can't be called.

Open
#7,029 0 comments 1 reaction 0 assignees View on GitHub
area:class reference bug
Dominant language
reStructuredText
Stars
5.7k
Forks
3.8k
Avg merge
1d 20h
Merged PRs (30d)
25

Description

**Your Godot version:**
v4.0.stable.official

**Issue description:**
In the documentation page,
`RefCounteds therefore do not need to be freed manually with Object.free.`
It doesn't mean "You can't call Object.free()", right?
`Autocomplete` autocompleted `free` but it makes an error.
I should use Tween.kill() instead of Tween.free().
However, nobody say "don't use `free`".

**URL to the documentation page:**
https://docs.godotengine.org/en/stable/classes/class_refcounted.html#description

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.