Skip to content

Commit

Permalink
Fix tests to shutdown the recognizer thread on exit.
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisant996 committed Jul 31, 2022
1 parent 40986e8 commit d767b9c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions clink/test/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,9 @@ int main(int argc, char** argv)
const char* prefix = (argc > 0) ? argv[0] : "";
int result = (clatch::run(prefix) != true);

extern void shutdown_recognizer();
shutdown_recognizer();

if (timer)
{
DWORD elapsed = GetTickCount() - start;
Expand Down

0 comments on commit d767b9c

Please sign in to comment.