mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
data-loop: leave the thread when leaving
This commit is contained in:
parent
cfa0e7da0b
commit
ce80e05b25
1 changed files with 1 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ static void thread_cleanup(void *arg)
|
||||||
struct pw_data_loop *this = arg;
|
struct pw_data_loop *this = arg;
|
||||||
pw_log_debug(NAME" %p: leave thread", this);
|
pw_log_debug(NAME" %p: leave thread", this);
|
||||||
this->running = false;
|
this->running = false;
|
||||||
pw_loop_enter(this->loop);
|
pw_loop_leave(this->loop);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void *do_loop(void *user_data)
|
static void *do_loop(void *user_data)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue