Skip to content

Commit 3c5448f

Browse files
last comment
1 parent 2b4dcd8 commit 3c5448f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

addon/compression_worker.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#ifndef COMPRESSION_WORKER_H
2-
#define COMPRESSION_WORKER_H
1+
#ifndef MONGODB_ZSTD_COMPRESSION_WORKER_H
2+
#define MONGODB_ZSTD_COMPRESSION_WORKER_H
33
#include <napi.h>
44

55
#include <optional>
@@ -27,6 +27,7 @@ class CompressionWorker final : public Napi::AsyncWorker {
2727
"zstd runtime error - async worker finished without "
2828
"a compression or decompression result.")
2929
.Value()});
30+
return;
3031
}
3132

3233
std::vector<uint8_t> data = *m_result;

0 commit comments

Comments
 (0)