mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
Handle when threaded mainloop is freed before it is started.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1405 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
d210ebbb09
commit
9776596848
1 changed files with 2 additions and 1 deletions
|
|
@ -120,7 +120,8 @@ void pa_threaded_mainloop_free(pa_threaded_mainloop* m) {
|
|||
|
||||
pa_threaded_mainloop_stop(m);
|
||||
|
||||
pa_thread_free(m->thread);
|
||||
if (m->thread)
|
||||
pa_thread_free(m->thread);
|
||||
|
||||
pa_mainloop_free(m->real_mainloop);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue