From c30e99a0df0d0257765a17ecd4af4fc4dcebe62d Mon Sep 17 00:00:00 2001 From: Unbit Date: Tue, 9 Sep 2014 07:49:35 +0200 Subject: [PATCH] attempt to fix #611 --- core/legion.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/legion.c b/core/legion.c index 9adf27c7..a45e9f6f 100644 --- a/core/legion.c +++ b/core/legion.c @@ -1212,6 +1212,8 @@ next: legion = legion->next; } + // this must be called only by the master !!! + if (uwsgi.mywid > 0) return; uwsgi_legion_announce_death(); }