attempt to fix #713

This commit is contained in:
Unbit
2014-09-11 08:22:19 +02:00
parent 1a63634359
commit 7fbc46750b
+2 -1
View File
@@ -1213,7 +1213,8 @@ next:
}
// this must be called only by the master !!!
if (uwsgi.mywid > 0) return;
if (!uwsgi.workers) return;
if (uwsgi.workers[0].pid != getpid()) return;
uwsgi_legion_announce_death();
}