mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-22 22:44:34 +00:00
Join update thread before bailing out on bad input.
This commit is contained in:
parent
1b7e8c3520
commit
1e35bbd54e
@ -381,6 +381,7 @@ int main( int argc, char** argv )
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
fprintf( stderr, "Bad parameter: %s", argv[1] );
|
fprintf( stderr, "Bad parameter: %s", argv[1] );
|
||||||
|
updateThread.join();
|
||||||
exit( 1 );
|
exit( 1 );
|
||||||
}
|
}
|
||||||
argc -= 2;
|
argc -= 2;
|
||||||
|
Loading…
Reference in New Issue
Block a user