From 9c0ecac396b4cff389287203744bf3daccc4dc78 Mon Sep 17 00:00:00 2001 From: Perfare Date: Tue, 25 Apr 2023 20:58:25 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9D=9E=E7=9B=AE=E6=A0=87=E8=BF=9B=E7=A8=8B?= =?UTF-8?q?=E6=89=A7=E8=A1=8C=E5=8D=B8=E8=BD=BD=E6=93=8D=E4=BD=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- module/src/main/cpp/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/module/src/main/cpp/main.cpp b/module/src/main/cpp/main.cpp index 887ce382..9e4cbbba 100644 --- a/module/src/main/cpp/main.cpp +++ b/module/src/main/cpp/main.cpp @@ -71,6 +71,8 @@ class MyModule : public zygisk::ModuleBase { LOGW("Unable to open arm file"); } #endif + } else { + api->setOption(zygisk::Option::DLCLOSE_MODULE_LIBRARY); } } };