From 6cd54f3f26f904557ec8efe25cd915f858dfcb4f Mon Sep 17 00:00:00 2001 From: YoungHun Kim Date: Thu, 29 Dec 2016 21:39:32 +0900 Subject: [PATCH] Do not call g_thread_unref after g_thread_jon Change-Id: Ic33b66b420b728ac4aca81f1422c75718d7df5c6 --- src/muse_core.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/muse_core.c b/src/muse_core.c index 268ae1c..1ac134e 100644 --- a/src/muse_core.c +++ b/src/muse_core.c @@ -608,12 +608,6 @@ void muse_core_worker_exit(muse_module_h module) LOGD("[close] MUSE_CHANNEL_DATA"); muse_core_connection_close(module->ch[MUSE_CHANNEL_DATA].fd); - LOGD("%p thread exit", module->ch[MUSE_CHANNEL_MSG].p_gthread); - if (module->ch[MUSE_CHANNEL_MSG].p_gthread) - g_thread_unref(module->ch[MUSE_CHANNEL_MSG].p_gthread); - - if (module->ch[MUSE_CHANNEL_DATA].p_gthread) - g_thread_unref(module->ch[MUSE_CHANNEL_DATA].p_gthread); MUSE_FREE(module); muse_core_tool_recursive_rmdir(MUSE_DATA_ROOT_PATH); -- 2.7.4