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(); }