From 8c5f87e9efe34a494a044a6b774087caf293244b Mon Sep 17 00:00:00 2001 From: chiteroman <98092901+chiteroman@users.noreply.github.com> Date: Sat, 11 Nov 2023 16:05:47 +0100 Subject: [PATCH] Fix --- app/src/main/cpp/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/cpp/main.cpp b/app/src/main/cpp/main.cpp index 3ba556a..f02b0e1 100644 --- a/app/src/main/cpp/main.cpp +++ b/app/src/main/cpp/main.cpp @@ -89,10 +89,10 @@ public: char buffer[size]; read(fd, buffer, size); - moduleDex.insert(moduleDex.end(), buffer, buffer + size); - close(fd); + moduleDex.insert(moduleDex.end(), buffer, buffer + size); + return; }