mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
jack-tunnel: let client cleanup continue in on_shutdown
We should close the client eventually so don't set the client to NULL.
This commit is contained in:
parent
663e6f1bf5
commit
39f9fa9c05
1 changed files with 1 additions and 2 deletions
|
|
@ -511,7 +511,6 @@ static void jack_info_shutdown(jack_status_t code, const char* reason, void *arg
|
|||
{
|
||||
struct impl *impl = arg;
|
||||
pw_log_warn("shutdown: %s (%08x)", reason, code);
|
||||
impl->client = NULL;
|
||||
module_schedule_destroy(impl);
|
||||
}
|
||||
|
||||
|
|
@ -555,7 +554,7 @@ static void jack_latency(jack_latency_callback_mode_t mode, void *arg)
|
|||
struct spa_latency_info latency;
|
||||
bool update = false;
|
||||
|
||||
spa_zero(latency);
|
||||
spa_zero(latency);
|
||||
|
||||
if ((impl->mode & MODE_SINK)) {
|
||||
if (mode == JackPlaybackLatency) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue