mirror of
https://github.com/clearlinux/uwsgi.git
synced 2026-09-04 20:51:29 +00:00
fixed sigquit/sigint in hijacked mode
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user