1
0
mirror of https://github.com/wolfpld/tracy synced 2025-04-29 12:23:53 +00:00

Somehow fix event ordering.

This commit is contained in:
Bartosz Taudul 2019-08-24 01:43:55 +02:00
parent 1e74a89924
commit deb59b4c38

View File

@ -701,11 +701,9 @@ static void ProcessTraceLines( int fd )
{
auto next = line;
while( next < end && *next != '\n' ) next++;
if( next == end ) break;
assert( *next == '\n' );
next++;
if( next >= end )
{
break;
}
HandleTraceLine( line );
line = next;