kore

Kore is a web application platform for writing scalable, concurrent web based processes in C or Python.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit d1e87c1a548366b7c32357ada70477f6b92ddd4f
parent d6b05bcff7037c63c52c5f10444be3cac30ef9cc
Author: Joris Vink <joris@coders.se>
Date:   Tue, 15 Jan 2019 10:20:13 +0100

deal with PyObject_CallObject() returning NULL.

Diffstat:
src/python.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/python.c b/src/python.c @@ -1484,7 +1484,7 @@ pytimer_run(void *arg, u_int64_t now) PyErr_Clear(); ret = PyObject_CallObject(timer->callable, NULL); - Py_DECREF(ret); + Py_XDECREF(ret); if (timer->flags & KORE_TIMER_ONESHOT) { timer->run = NULL;