summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/pal/src/init/pal.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pal/src/init/pal.cpp b/src/pal/src/init/pal.cpp
index d14b64bcd4..a5edb36428 100644
--- a/src/pal/src/init/pal.cpp
+++ b/src/pal/src/init/pal.cpp
@@ -705,6 +705,8 @@ PAL_IsDebuggerPresent()
}
}
+ close(status_fd);
+
return debugger_present;
#elif defined(__APPLE__)
struct kinfo_proc info = {};