summaryrefslogtreecommitdiff
path: root/modules/gdnative/gdnative_library_editor_plugin.cpp
diff options
context:
space:
mode:
authorPouleyKetchoupp <pouleyketchoup@gmail.com>2019-10-19 18:45:17 +0200
committerPouleyKetchoupp <pouleyketchoup@gmail.com>2019-10-19 18:45:17 +0200
commit1a9801f7007ceb5dc894a0da1d90d1f8201b44fc (patch)
tree3b411d304017688930308db4c58463bdfb54df3d /modules/gdnative/gdnative_library_editor_plugin.cpp
parent119bf237209414a49879fba40459f22315ab1467 (diff)
Fixed leak on exit when using yield with SceneTreeTimer
Use case: yield(get_tree().create_timer(2), "timeout") Some resources were never released because the SceneTreeTimer was keeping a reference to GDScriptFunctionState in its signal connections, while GDScriptFunctionState was holding a reference to the SceneTreeTimer object. Cleaning all signal connections on game exit fixes the issue. Fixes #29946
Diffstat (limited to 'modules/gdnative/gdnative_library_editor_plugin.cpp')
0 files changed, 0 insertions, 0 deletions