keep a reference around for tracer.

This commit is contained in:
Joris Vink 2018-11-29 09:53:26 +01:00
parent d9f543ef5b
commit ce3b60b8c8
1 changed files with 1 additions and 0 deletions

View File

@ -1054,6 +1054,7 @@ python_kore_tracer(PyObject *self, PyObject *args)
return (NULL);
}
Py_INCREF(obj);
python_tracer = obj;
Py_RETURN_TRUE;