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; }