Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Alchemy Viewer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Silent mode is enabled
All outbound communications are blocked.
Learn more
.
Show more breadcrumbs
Alchemy Viewer
Alchemy Viewer
Commits
a46794bc
Commit
a46794bc
authored
15 years ago
by
James Cook
Browse files
Options
Downloads
Patches
Plain Diff
EXT-2579 Fix memory leak/bloat due to /me IRC-style emotes.
Pending review with Richard/Leyla
parent
1875d5e3
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
indra/newview/llchatitemscontainerctrl.cpp
+10
-0
10 additions, 0 deletions
indra/newview/llchatitemscontainerctrl.cpp
with
10 additions
and
0 deletions
indra/newview/llchatitemscontainerctrl.cpp
+
10
−
0
View file @
a46794bc
...
...
@@ -188,7 +188,17 @@ void LLNearbyChatToastPanel::init(LLSD& notification)
}
mText
=
mText
.
substr
(
3
);
style_params
.
font
.
style
=
"UNDERLINE"
;
#define INFINITE_REFLOW_BUG 0
#if INFINITE_REFLOW_BUG
// This causes LLTextBase::reflow() to infinite loop until the viewer
// runs out of memory, throws a bad_alloc exception from std::vector
// in mLineInfoList, and the main loop catches it and continues.
// It appears to be caused by addText() adding a line separator in the
// middle of a line. See EXT-2579, EXT-1949
msg_text
->
addText
(
mText
,
style_params
);
#else
msg_text
->
appendText
(
mText
,
FALSE
,
style_params
);
#endif
}
else
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment