From 4c56a6264b3498c171a465c3542ae0c9d5b9e3f6 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Mon, 9 Jan 2017 17:28:29 -0800 Subject: Probably this fixes the hang -- something was clearing the error condition. --- src/protocol/survey/survey.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/protocol') diff --git a/src/protocol/survey/survey.c b/src/protocol/survey/survey.c index 3870a9ef..d8ab065c 100644 --- a/src/protocol/survey/survey.c +++ b/src/protocol/survey/survey.c @@ -205,7 +205,7 @@ nni_surv_pipe_receiver(void *arg) } } nni_msgq_signal(uwq, &ppipe->sigclose); - nni_msgq_set_error(ppipe->sendq, NNG_ECLOSED); + nni_msgq_signal(ppipe->sendq, &ppipe->sigclose); nni_pipe_close(npipe); } -- cgit v1.2.3-70-g09d2