added exception detection

This commit is contained in:
roberto@precise64
2012-03-18 08:21:45 +01:00
parent 9001af1beb
commit f9f9f25a01
11 changed files with 160 additions and 28 deletions
-6
View File
@@ -225,12 +225,6 @@ int uwsgi_response_subhandler_web3(struct wsgi_request *wsgi_req) {
return UWSGI_AGAIN;
clear:
if (wsgi_req->async_input) {
Py_DECREF((PyObject *)wsgi_req->async_input);
}
if (wsgi_req->async_environ) {
PyDict_Clear(wsgi_req->async_environ);
}
Py_XDECREF((PyObject *)wsgi_req->async_placeholder);
Py_DECREF((PyObject *)wsgi_req->async_result);