Kouhei Sutou
null+****@clear*****
Wed Mar 23 00:35:12 JST 2016
Kouhei Sutou 2016-03-23 00:35:12 +0900 (Wed, 23 Mar 2016) New Revision: 7b6528cc664885851be112f1c4f7c481563b2e5e https://github.com/groonga/groonga/commit/7b6528cc664885851be112f1c4f7c481563b2e5e Message: groonga http: ensure finishing ctx on shutdown Modified files: src/groonga.c Modified: src/groonga.c (+1 -1) =================================================================== --- src/groonga.c 2016-03-22 19:44:42 +0900 (dfc3217) +++ src/groonga.c 2016-03-23 00:35:12 +0900 (05da238) @@ -2181,11 +2181,11 @@ exit : n_running_threads--; GRN_LOG(&grn_gctx, GRN_LOG_NOTICE, "thread end (%d/%d)", n_floating_threads, n_running_threads); - MUTEX_UNLOCK(q_mutex); if (grn_gctx.stat == GRN_CTX_QUIT) { break_accept_event_loop(ctx); } grn_ctx_fin(ctx); + MUTEX_UNLOCK(q_mutex); return GRN_THREAD_FUNC_RETURN_VALUE; } -------------- next part -------------- HTML����������������������������... Download