diff --git a/scene/main/scene_tree.cpp b/scene/main/scene_tree.cpp index 8a0240069b9..fe94a7cb8e0 100644 --- a/scene/main/scene_tree.cpp +++ b/scene/main/scene_tree.cpp @@ -749,6 +749,12 @@ void SceneTree::finish() { E->get()->release_connections(); } timers.clear(); + + // Cleanup tweens. + for (List>::Element *E = tweens.front(); E; E = E->next()) { + E->get()->clear(); + } + tweens.clear(); } void SceneTree::quit(int p_exit_code) {