diff --git a/profiler/src/main.cpp b/profiler/src/main.cpp index 158a649d..5669bf31 100644 --- a/profiler/src/main.cpp +++ b/profiler/src/main.cpp @@ -381,6 +381,7 @@ int main( int argc, char** argv ) else { fprintf( stderr, "Bad parameter: %s", argv[1] ); + updateThread.join(); exit( 1 ); } argc -= 2;