mirror of
https://github.com/wolfpld/tracy
synced 2025-04-29 04:23:51 +00:00
Mark activity on HTTP response.
This commit is contained in:
parent
bc30786c05
commit
f5abdd489d
@ -201,7 +201,7 @@ int main( int argc, char** argv )
|
||||
{
|
||||
uint32_t ver;
|
||||
memcpy( &ver, data, 4 );
|
||||
RunOnMainThread( [ver] { updateVersion = ver; } );
|
||||
RunOnMainThread( [ver] { updateVersion = ver; tracy::s_wasActive = true; } );
|
||||
}
|
||||
delete[] data;
|
||||
} );
|
||||
@ -512,7 +512,7 @@ static void DrawContents()
|
||||
HttpRequest( "nereid.pl", "/tracy/notes", 8099, [] ( int size, char* data ) {
|
||||
std::string notes( data, data+size );
|
||||
delete[] data;
|
||||
RunOnMainThread( [notes = move( notes )] { releaseNotes = std::move( notes ); } );
|
||||
RunOnMainThread( [notes = move( notes )] { releaseNotes = std::move( notes ); tracy::s_wasActive = true; } );
|
||||
} );
|
||||
} );
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user