Commit 9fc30908 authored by Benjamin Peterson's avatar Benjamin Peterson

indicate we're not running as we leave this block

parent 099a78fe
...@@ -356,6 +356,7 @@ gen_throw(PyGenObject *gen, PyObject *args) ...@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment