diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2022-08-02 15:54:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-02 15:54:18 +0200 |
commit | 33258d850cf6b40d9b20ba9643f98b3553c392c4 (patch) | |
tree | cb918e8226e14369c0ab37cf9969ab206ed747b2 /platform/linuxbsd/detect_prime_x11.cpp | |
parent | 4f8d31fc68c1b2276cbcbb62a308d59313b9fac6 (diff) | |
parent | b221eab4260c471c37ff2aae2546fcfa6dd7ac58 (diff) | |
download | redot-engine-33258d850cf6b40d9b20ba9643f98b3553c392c4.tar.gz |
Merge pull request #61315 from lawnjelly/variant_bucket_pools
Variant memory pools
Diffstat (limited to 'platform/linuxbsd/detect_prime_x11.cpp')
-rw-r--r-- | platform/linuxbsd/detect_prime_x11.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/platform/linuxbsd/detect_prime_x11.cpp b/platform/linuxbsd/detect_prime_x11.cpp index 42b7f68a5e..fb833ab5e6 100644 --- a/platform/linuxbsd/detect_prime_x11.cpp +++ b/platform/linuxbsd/detect_prime_x11.cpp @@ -177,6 +177,11 @@ int detect_prime() { } else { // In child, exit() here will not quit the engine. + // Prevent false leak reports as we will not be properly + // cleaning up these processes, and fork() makes a copy + // of all globals. + CoreGlobals::leak_reporting_enabled = false; + char string[201]; close(fdset[0]); |