Skip to content

Commit 4308f1b

Browse files
Will-Tylerjeromekelleher
authored andcommitted
Revert "Release GIL while encoding VCF"
This reverts commit 0a47519.
1 parent f969899 commit 4308f1b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

vcztools/_vcztoolsmodule.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -462,10 +462,8 @@ VcfEncoder_encode(VcfEncoder *self, PyObject *args)
462462
PyErr_NoMemory();
463463
goto out;
464464
}
465-
Py_BEGIN_ALLOW_THREADS
466465
line_length = vcz_variant_encoder_encode(
467466
self->vcf_encoder, (size_t) row, buf, (size_t) bufsize);
468-
Py_END_ALLOW_THREADS
469467
if (line_length < 0) {
470468
handle_library_error((int) line_length);
471469
goto out;

0 commit comments

Comments
 (0)