Skip to content

Commit 6e34900

Browse files
committed
Merge remote-tracking branch 'jorio/walker-release-gil'
2 parents c528770 + 3307e64 commit 6e34900

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/walker.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,10 @@ Walker_iternext(Walker *self)
149149
git_commit *commit;
150150
git_oid oid;
151151

152+
Py_BEGIN_ALLOW_THREADS
152153
err = git_revwalk_next(&oid, self->walk);
154+
Py_END_ALLOW_THREADS
155+
153156
if (err < 0)
154157
return Error_set(err);
155158

0 commit comments

Comments
 (0)