signal framework ported to gevent

This commit is contained in:
roberto@debian32
2011-08-27 07:15:44 +02:00
parent 3e867fe401
commit 5f5d382c64
5 changed files with 159 additions and 71 deletions
+1
View File
@@ -1213,6 +1213,7 @@ int uwsgi_python_signal_handler(uint8_t sig, void *handler) {
ret = python_call(handler, args, 0, NULL);
Py_DECREF(args);
if (ret) {
Py_DECREF(ret);
UWSGI_RELEASE_GIL;
return 0;
}