From aa2ecf14df879c3a7902351d16e4ee81df1879d4 Mon Sep 17 00:00:00 2001 From: Roberto De Ioris Date: Mon, 21 Jan 2013 12:09:25 +0100 Subject: [PATCH] correctly handle multithread exit --- core/uwsgi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/uwsgi.c b/core/uwsgi.c index fb2cb47c..961b70b6 100644 --- a/core/uwsgi.c +++ b/core/uwsgi.c @@ -2889,7 +2889,7 @@ wait_for_call_of_duty: uwsgi_ignition(); } // never here - pthread_exit(NULL); + end_me(0); } /*