fixed sigquit/sigint in hijacked mode

This commit is contained in:
roberto@oneiric64
2012-01-24 21:13:24 +01:00
parent eed27c0aac
commit d570845592
+2
View File
@@ -193,6 +193,8 @@ void uwsgi_python_reset_random_seed() {
void uwsgi_python_atexit() {
// if hijacked do not run atexit hooks
if (uwsgi.workers[uwsgi.mywid].hijacked)
return;
// this time we use this higher level function
// as this code can be executed in a signal handler