indicate we're not running as we leave this block

This commit is contained in:
Benjamin Peterson 2012-03-07 18:11:31 -06:00
parent 099a78fe6d
commit 9fc309083a

View file

@ -356,6 +356,7 @@ gen_throw(PyGenObject *gen, PyObject *args)
PyErr_Clear(); PyErr_Clear();
Py_DECREF(yf); Py_DECREF(yf);
gen_undelegate(gen); gen_undelegate(gen);
gen->gi_running = 0;
goto throw_here; goto throw_here;
} }
ret = PyObject_CallObject(meth, args); ret = PyObject_CallObject(meth, args);