mirror of
https://github.com/clearlinux/uwsgi.git
synced 2026-08-28 17:55:39 +00:00
ensure master_cleanup is run by the master
This commit is contained in:
@@ -8,6 +8,9 @@ void worker_wakeup() {
|
||||
void uwsgi_master_cleanup_hooks(void) {
|
||||
|
||||
int j;
|
||||
|
||||
// could be an inherited atexit hook
|
||||
if (uwsgi.mywid > 0) return ;
|
||||
|
||||
uwsgi.cleaning = 1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user