mirror of
https://github.com/wolfpld/tracy
synced 2025-04-30 04:43:53 +00:00
Somehow fix event ordering.
This commit is contained in:
parent
1e74a89924
commit
deb59b4c38
@ -701,11 +701,9 @@ static void ProcessTraceLines( int fd )
|
|||||||
{
|
{
|
||||||
auto next = line;
|
auto next = line;
|
||||||
while( next < end && *next != '\n' ) next++;
|
while( next < end && *next != '\n' ) next++;
|
||||||
|
if( next == end ) break;
|
||||||
|
assert( *next == '\n' );
|
||||||
next++;
|
next++;
|
||||||
if( next >= end )
|
|
||||||
{
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
HandleTraceLine( line );
|
HandleTraceLine( line );
|
||||||
line = next;
|
line = next;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user