check for mules before nuke

This commit is contained in:
roberto@debian32
2011-10-16 09:58:37 +02:00
parent 34bc7c0cfd
commit 875100e3c8
+1
View File
@@ -656,6 +656,7 @@ void reap_them_all(int signum) {
}
for (i = 0; i < uwsgi.mules_cnt; i++) {
if (!uwsgi.mules) break;
if (uwsgi.mules[i].pid > 0)
kill(uwsgi.mules[i].pid, SIGKILL);
}