Skip to content

Commit

Permalink
Update rosbag2_compression/src/rosbag2_compression/sequential_compres…
Browse files Browse the repository at this point in the history
…sion_writer.cpp

Co-authored-by: Emerson Knapp <[email protected]>
Signed-off-by: P. J. Reed <[email protected]>
  • Loading branch information
pjreed and emersonknapp committed Jan 29, 2021
1 parent 4bb0c88 commit 1d04628
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,7 @@ void SequentialCompressionWriter::compression_thread_fn()
{
// Now that the message is compressed, it can be written to file using the
// normal method.
std::lock_guard<std::recursive_mutex> storage_lock(
storage_mutex_);
std::lock_guard<std::recursive_mutex> storage_lock(storage_mutex_);
SequentialWriter::write(message);
}
} else if (!file.empty()) {
Expand Down

0 comments on commit 1d04628

Please sign in to comment.