We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8da921b commit 8706424Copy full SHA for 8706424
src/filter.c
@@ -542,7 +542,9 @@ void pygit2_filter_cleanup(git_filter *self, void *payload)
542
{
543
struct pygit2_filter_payload *pl = (struct pygit2_filter_payload *)payload;
544
545
+ PyGILState_STATE gil = PyGILState_Ensure();
546
pygit2_filter_payload_free(pl);
547
+ PyGILState_Release(gil);
548
}
549
550
void pygit2_filter_shutdown(git_filter *self)
0 commit comments