mirror of
https://github.com/godotengine/godot.git
synced 2025-01-12 20:22:49 +08:00
Prevents segfault on _class_desc_resized at exit
This commit is contained in:
parent
2906cef290
commit
d7d72aeeec
@ -1468,8 +1468,9 @@ void EditorHelp::_notification(int p_what) {
|
||||
_update_doc();
|
||||
} break;
|
||||
case NOTIFICATION_THEME_CHANGED: {
|
||||
|
||||
_class_desc_resized();
|
||||
if (is_visible_in_tree()) {
|
||||
_class_desc_resized();
|
||||
}
|
||||
} break;
|
||||
default: break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user