From 847fe0e474630429c8a4f0e465d6538d3b58ec92 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 14 Mar 2008 01:26:14 +0000 Subject: Exit clean on ctrl+c when running engine only. git-svn-id: http://svn.drobilla.net/lad/raul@1165 a436a847-0d15-0410-975c-d299462d15a1 --- src/Thread.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/Thread.cpp b/src/Thread.cpp index 05ef2bc..5b5fa27 100644 --- a/src/Thread.cpp +++ b/src/Thread.cpp @@ -89,7 +89,7 @@ Thread::stop() { if (_pthread_exists) { _exit_flag = true; - //pthread_cancel(_pthread); + pthread_cancel(_pthread); pthread_join(_pthread, NULL); _pthread_exists = false; cout << "[" << _name << " Thread] Exiting." << endl; -- cgit v1.2.1