### Godot version

4.1.rc.custom_build. c83f912bc

### System information

Ubuntu 22.04 CI

### Issue description

When executing
```
extends Node
func _process(delta):

	var temp_variable35241 = RichTextLabel.new()
	add_child(temp_variable35241)
	temp_variable35241.set_fit_content(true)
	temp_variable35241.parse_bbcode("3188932498")
	temp_variable35241.queue_free()
```
this code freeze project in CI for at least 60 seconds

### Steps to reproduce

Above

### Minimal reproduction project

N/A
underline_hint = p_underline;
	queue_redraw();
}
bool RichTextLabel::is_hint_underlined() const {
	return underline_hint;
}
void RichTextLabel::set_offset(int p_pixel) {
	vscroll->set_value(p_pixel);
}
void RichTextLabel::set_scroll_active(bool p_active) {
	if (scroll_active == p_active) {
		return;
	}
	scroll_active = p_active;
	vscroll->set_drag_node_enabled(p_active);
	queue_redraw();
}
bool RichTextLabel::is_scroll_active() const {
	return scroll_active;
}
void RichTextLabel::set_scroll_follow(bool p_follow) {
	scroll_follow = p_follow;
	if (!vscroll->is_visible_in_tree() || vscroll->get_value() >= (vscroll->get_max() - vscroll->get_page())) {
		scroll_following = true;
	}
}
bool RichTextLabel::is_scroll_following() const {
	return scroll_follow;
}
void RichTextLabel::parse_bbcode(const String &p_bbcode) {