fixed threaded loading

This commit is contained in:
roberto@debian32
2011-06-24 19:42:01 +02:00
parent 789e333736
commit 2246d30bbe
7 changed files with 21 additions and 26 deletions
-4
View File
@@ -162,8 +162,6 @@ void uwsgi_python_reset_random_seed() {
void uwsgi_python_post_fork() {
uwsgi_log("POST FORK %d\n", uwsgi.mywid);
uwsgi_python_reset_random_seed();
#ifdef UWSGI_EMBEDDED
@@ -178,8 +176,6 @@ void uwsgi_python_post_fork() {
PyErr_Clear();
#endif
uwsgi_log("RELEASING GIL %d\n", uwsgi.mywid);
UWSGI_RELEASE_GIL
}