Skip to content

Commit

Permalink
Merge remote-tracking branch 'jorio/walker-release-gil'
Browse files Browse the repository at this point in the history
  • Loading branch information
jdavid committed Nov 20, 2023
2 parents c528770 + 3307e64 commit 6e34900
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/walker.c
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,10 @@ Walker_iternext(Walker *self)
git_commit *commit;
git_oid oid;

Py_BEGIN_ALLOW_THREADS
err = git_revwalk_next(&oid, self->walk);
Py_END_ALLOW_THREADS

if (err < 0)
return Error_set(err);

Expand Down

0 comments on commit 6e34900

Please sign in to comment.