Merge pull request #145 from acomerlatto/main

fix(native-connect-hook): adjust scope of `systemModule` declaration
This commit is contained in:
Tim Perry
2025-07-03 14:01:23 +02:00
committed by GitHub
+2 -2
View File
@@ -29,9 +29,9 @@
? 4
: 2048; // Linux/Android
let fcntl, send, recv;
let systemModule, fcntl, send, recv;
try {
const systemModule = Process.findModuleByName('libc.so') ?? // Android
systemModule = Process.findModuleByName('libc.so') ?? // Android
Process.findModuleByName('libc.so.6') ?? // Linux
Process.findModuleByName('libsystem_kernel.dylib'); // iOS