Skip to content
Snippets Groups Projects
Commit 9c52fb7c authored by sletz's avatar sletz
Browse files

Tim Bechmann patch : hammerfall, only release monitor thread, if it has been created.

git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@3571 0c269be4-1314-0410-8aa9-9f06e86f4224
parent dd36f62a
No related branches found
No related tags found
No related merge requests found
......@@ -24,6 +24,10 @@ Paul Davis
---------------------------
Jackdmp changes log
---------------------------
2009-06-30 Stephane Letz <letz@grame.fr>
* Tim Bechmann patch : hammerfall, only release monitor thread, if it has been created.
2009-06-19 Stephane Letz <letz@grame.fr>
......
......@@ -206,8 +206,10 @@ hammerfall_release (jack_hardware_t *hw)
return;
}
pthread_cancel (h->monitor_thread);
pthread_join (h->monitor_thread, &status);
if (h->monitor_thread) {
pthread_cancel (h->monitor_thread);
pthread_join (h->monitor_thread, &status);
}
free (h);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment