fix assert

virtual hardware clients are destroyed on clear anyway
This commit is contained in:
Nedko Arnaudov 2009-10-11 18:13:08 +03:00
parent a4fbcbe9fe
commit 89ad40c581
1 changed files with 2 additions and 10 deletions

View File

@ -371,17 +371,9 @@ void
ladish_jack_dispatcher_destroy(
ladish_jack_dispatcher_handle handle)
{
log_info("ladish_jack_dispatcher_destroy() called");
graph_proxy_detach((graph_proxy_handle)handle, dispatcher_ptr);
if (dispatcher_ptr->system_capture_client != NULL)
{
ladish_graph_remove_client(dispatcher_ptr->studio_graph, dispatcher_ptr->system_capture_client, true);
}
if (dispatcher_ptr->system_playback_client != NULL)
{
ladish_graph_remove_client(dispatcher_ptr->studio_graph, dispatcher_ptr->system_playback_client, true);
}
}
#undef dispatcher_ptr