mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2025-04-16 04:31:34 +00:00
add missing calls to delete_fluid_thread()
even if they are currently a null-op
This commit is contained in:
parent
89ffe5881d
commit
9be693d9bc
3 changed files with 6 additions and 0 deletions
|
@ -355,6 +355,7 @@ void delete_fluid_alsa_audio_driver(fluid_audio_driver_t *p)
|
|||
if(dev->thread)
|
||||
{
|
||||
fluid_thread_join(dev->thread);
|
||||
delete_fluid_thread(dev->thread);
|
||||
}
|
||||
|
||||
if(dev->pcm)
|
||||
|
@ -757,6 +758,7 @@ delete_fluid_alsa_rawmidi_driver(fluid_midi_driver_t *p)
|
|||
if(dev->thread)
|
||||
{
|
||||
fluid_thread_join(dev->thread);
|
||||
delete_fluid_thread(dev->thread);
|
||||
}
|
||||
|
||||
if(dev->rawmidi_in)
|
||||
|
@ -1210,6 +1212,7 @@ delete_fluid_alsa_seq_driver(fluid_midi_driver_t *p)
|
|||
if(dev->thread)
|
||||
{
|
||||
fluid_thread_join(dev->thread);
|
||||
delete_fluid_thread(dev->thread);
|
||||
}
|
||||
|
||||
if(dev->seq_handle)
|
||||
|
|
|
@ -448,6 +448,7 @@ delete_fluid_oss_audio_driver(fluid_audio_driver_t *p)
|
|||
if(dev->thread)
|
||||
{
|
||||
fluid_thread_join(dev->thread);
|
||||
delete_fluid_thread(dev->thread);
|
||||
}
|
||||
|
||||
if(dev->dspfd >= 0)
|
||||
|
@ -705,6 +706,7 @@ delete_fluid_oss_midi_driver(fluid_midi_driver_t *p)
|
|||
if(dev->thread)
|
||||
{
|
||||
fluid_thread_join(dev->thread);
|
||||
delete_fluid_thread(dev->thread);
|
||||
}
|
||||
|
||||
if(dev->fd >= 0)
|
||||
|
|
|
@ -221,6 +221,7 @@ void delete_fluid_pulse_audio_driver(fluid_audio_driver_t *p)
|
|||
if(dev->thread)
|
||||
{
|
||||
fluid_thread_join(dev->thread);
|
||||
delete_fluid_thread(dev->thread);
|
||||
}
|
||||
|
||||
if(dev->pa_handle)
|
||||
|
|
Loading…
Reference in a new issue