☰
Debian Codegraph
@
4.6.3+ds-2
/
/
modules
/
gdscript
/
tests
/
scripts
/
runtime
/
features
/
getter_with_freed_object.gd
☽
☼
modules/gdscript/tests/scripts/runtime/features/getter_with_freed_object.gd
code
plain
raw
Expat
2014-present, Godot Engine contributors; 2007-2014, Juan Linietsky, Ariel Manzur
debian/copyright
1
# https://github.com/godotengine/godot/issues/68184
2
3
var node: Node:
4
get:
5
return node
6
set(n):
7
node = n
8
9
10
func test():
11
node = Node.new()
12
node.free()
13
14
if !is_instance_valid(node):
15
print("It is freed")