References:
https://stackoverflow.com/questions/
44736601/strange-behavior-of-pthread-cond-destroy-hanging
https://stackoverflow.com/questions/
20439404/pthread-conditions-and-process-termination
[Version] 0.0.19
[Issue Type] Bug
Change-Id: I49f2c64d33a39dc01f3018e174ddc891ce664fb5
Name: capi-media-sound-pool
-Version: 0.0.18
+Version: 0.0.19
Summary: Tizen Sound Pool module
Release: 0
Group: Multimedia/Framework
stream_cb_manager_t *cbmgr = (stream_cb_manager_t *)user_data;
g_async_queue_unref(cbmgr->isolator_callback_queue);
- pthread_mutex_destroy(&cbmgr->isolator_data_mutex);
+
+ pthread_cond_broadcast(&cbmgr->isolator_data_cond);
pthread_cond_destroy(&cbmgr->isolator_data_cond);
+ pthread_mutex_destroy(&cbmgr->isolator_data_mutex);
SP_SAFE_GFREE(cbmgr);