summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-03-14 01:26:14 +0000
committerDavid Robillard <d@drobilla.net>2008-03-14 01:26:14 +0000
commit847fe0e474630429c8a4f0e465d6538d3b58ec92 (patch)
tree3dacc6d54bf40b5532de63bc2acd95870e3c83a8 /src
parent9299a832729f6ff7df5c81a93f3f8483529a35db (diff)
downloadraul-847fe0e474630429c8a4f0e465d6538d3b58ec92.tar.gz
raul-847fe0e474630429c8a4f0e465d6538d3b58ec92.tar.bz2
raul-847fe0e474630429c8a4f0e465d6538d3b58ec92.zip
Exit clean on ctrl+c when running engine only.
git-svn-id: http://svn.drobilla.net/lad/raul@1165 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r--src/Thread.cpp2
1 files changed, 1 insertions, 1 deletions
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;