From b5f1fa5d96e1a5b0039acb14acbbc53b5c91f5cf Mon Sep 17 00:00:00 2001 From: Giulio Formenti Date: Wed, 25 Dec 2024 18:57:32 -0500 Subject: [PATCH] Update reads.cpp --- src/reads.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/reads.cpp b/src/reads.cpp index b7612d1..0d08489 100644 --- a/src/reads.cpp +++ b/src/reads.cpp @@ -715,7 +715,7 @@ void InReads::closeStream() { closeBam(); streamOutput = false; - if (writer.joinable()) { + if (writer.joinable()) writer.join(); }