commit ce3b60b8c821bfbec83f68c32ef78ea358235d9b
parent d9f543ef5ba62ad1a7ba2a652f6edd847468989a
Author: Joris Vink <joris@coders.se>
Date: Thu, 29 Nov 2018 09:53:26 +0100
keep a reference around for tracer.
Diffstat:
src/python.c | 1 +
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/python.c b/src/python.c
@@ -1054,6 +1054,7 @@ python_kore_tracer(PyObject *self, PyObject *args)
return (NULL);
}
+ Py_INCREF(obj);
python_tracer = obj;
Py_RETURN_TRUE;