From aa526db772eed4e89d753d25f3b709692e9720b8 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 8 Sep 2017 21:36:20 +0530 Subject: [PATCH] Another place that was using python threading APIs --- kitty/glfw.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/kitty/glfw.c b/kitty/glfw.c index e298d04f5..b770e5e8a 100644 --- a/kitty/glfw.c +++ b/kitty/glfw.c @@ -20,11 +20,9 @@ #define CALLBACK(name, fmt, ...) \ if ((name) != NULL) { \ - PyGILState_STATE _pystate = PyGILState_Ensure(); \ PyObject *_pyret = PyObject_CallFunction((name), fmt, __VA_ARGS__); \ if (_pyret == NULL && PyErr_Occurred() != NULL) PyErr_Print(); \ Py_CLEAR(_pyret); \ - PyGILState_Release(_pystate); \ } #define WINDOW_CALLBACK(name, fmt, ...) \