g_return_if_fail(cb_info != NULL);
- /* remove idle event */
- _recorder_deactivate_idle_event_all(cb_info);
-
REC_LOG_INFO("MSG receive thread[%p] destroy", cb_info->msg_recv_thread);
g_thread_join(cb_info->msg_recv_thread);
__destroy_msg_handler_thread(&cb_info->audio_stream_cb_info);
__destroy_msg_handler_thread(&cb_info->muxed_stream_cb_info);
+ /* remove idle event */
+ _recorder_deactivate_idle_event_all(cb_info);
+
for (i = 0 ; i < MUSE_RECORDER_EVENT_TYPE_NUM ; i++)
g_mutex_clear(&cb_info->user_cb_mutex[i]);