mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Merge pull request #54330 from LennyPhoenix/lennyphoenix-patch-1
This commit is contained in:
@@ -471,6 +471,8 @@ void Control::_notification(int p_notification) {
|
||||
_size_changed();
|
||||
} break;
|
||||
case NOTIFICATION_EXIT_TREE: {
|
||||
ERR_FAIL_COND(!get_viewport());
|
||||
|
||||
get_viewport()->_gui_remove_control(this);
|
||||
|
||||
} break;
|
||||
|
||||
Reference in New Issue
Block a user