parent
a204af90d5
commit
d13e327abe
1 changed files with 6 additions and 0 deletions
|
@ -749,6 +749,12 @@ void SceneTree::finish() {
|
||||||
E->get()->release_connections();
|
E->get()->release_connections();
|
||||||
}
|
}
|
||||||
timers.clear();
|
timers.clear();
|
||||||
|
|
||||||
|
// Cleanup tweens.
|
||||||
|
for (List<Ref<SceneTreeTween>>::Element *E = tweens.front(); E; E = E->next()) {
|
||||||
|
E->get()->clear();
|
||||||
|
}
|
||||||
|
tweens.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
void SceneTree::quit(int p_exit_code) {
|
void SceneTree::quit(int p_exit_code) {
|
||||||
|
|
Loading…
Reference in a new issue