Use fluid_msleep() into JACK driver.

This commit is contained in:
carlo-bramini 2017-12-28 12:28:26 +01:00
parent f638fd90ba
commit cb1e93cd7c

View file

@ -391,7 +391,7 @@ fluid_jack_client_close (fluid_jack_client_t *client_ref, void *driver)
if (client_ref->audio_driver || client_ref->midi_driver) if (client_ref->audio_driver || client_ref->midi_driver)
{ {
g_usleep (100000); /* FIXME - Hack to make sure that resources don't get freed while Jack callback is active */ fluid_msleep(100); /* FIXME - Hack to make sure that resources don't get freed while Jack callback is active */
return; return;
} }