mirror of
https://github.com/clearlinux/uwsgi.git
synced 2026-05-01 20:33:43 +00:00
fixed threading in command mode
This commit is contained in:
@@ -1434,6 +1434,7 @@ void uwsgi_python_hijack(void) {
|
||||
FILE *pyfile;
|
||||
if (up.pyrun) {
|
||||
uwsgi.workers[uwsgi.mywid].hijacked = 1;
|
||||
UWSGI_GET_GIL;
|
||||
pyfile = fopen(up.pyrun, "r");
|
||||
if (!pyfile) {
|
||||
uwsgi_error_open(up.pyrun);
|
||||
|
||||
Reference in New Issue
Block a user