- fixed: BlockLinesIterator::Next could get stuck in rare situations where validcount was altered while the iterator was still running. This should probably be dealt with by using another marking method but at least this prevents the engine from freezing.
SVN r3268 (trunk)
This commit is contained in:
parent
ba661308d4
commit
d8ea5cdad9
2 changed files with 2 additions and 5 deletions
|
|
@ -721,15 +721,12 @@ line_t *FBlockLinesIterator::Next()
|
|||
{
|
||||
line_t *ld = &lines[*list];
|
||||
|
||||
list++;
|
||||
if (ld->validcount != validcount)
|
||||
{
|
||||
ld->validcount = validcount;
|
||||
return ld;
|
||||
}
|
||||
else
|
||||
{
|
||||
list++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue