diff --git a/native/jni/zygisk/hook.cpp b/native/jni/zygisk/hook.cpp index 6a7d0e2ed..3649f8c8b 100644 --- a/native/jni/zygisk/hook.cpp +++ b/native/jni/zygisk/hook.cpp @@ -457,8 +457,8 @@ void HookContext::nativeSpecializeAppProcess_pre() { state[DO_UNMOUNT] = true; } else if (fd >= 0) { run_modules_pre(module_fds); - write_int(fd, 0); } + write_int(fd, 0); close(fd); close_fds();