Commit fd4fd017 authored by sletz's avatar sletz
Browse files

Correct jackdmp.cpp.

git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4311 0c269be4-1314-0410-8aa9-9f06e86f4224
parent 234752c5
......@@ -540,12 +540,15 @@ int main(int argc, char* argv[])
// Slave drivers
for (it = slaves_list.begin(); it != slaves_list.end(); it++) {
jackctl_driver_t * slave_driver_ctl = jackctl_server_get_driver(server_ctl, *it);
jackctl_server_remove_slave(server_ctl, slave_driver_ctl);
if (slave_driver_ctl)
jackctl_server_remove_slave(server_ctl, slave_driver_ctl);
}
// Internal clients
for (it = internals_list.begin(); it != internals_list.end(); it++) {
jackctl_internal_t * internal_driver_ctl = jackctl_server_get_internal(server_ctl, *it);
jackctl_server_unload_internal(server_ctl, internal_driver_ctl);
if (internal_driver_ctl)
jackctl_server_unload_internal(server_ctl, internal_driver_ctl);
}
jackctl_server_close(server_ctl);
destroy_server:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment