1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-24 15:26:15 +00:00

Merge pull request #56036 from Rubonnek/fix-startup-leaks-and-use-after-free

This commit is contained in:
Rémi Verschelde
2022-03-13 18:09:55 +01:00
committed by GitHub

View File

@@ -175,7 +175,7 @@ int detect_prime() {
close(fdset[0]); close(fdset[0]);
} else { } else {
// In child, exit() here will not quit the engine. // In child, killing this process will not quit the engine.
char string[201]; char string[201];
@@ -203,7 +203,7 @@ int detect_prime() {
print_verbose("Couldn't write vendor/renderer string."); print_verbose("Couldn't write vendor/renderer string.");
} }
close(fdset[1]); close(fdset[1]);
exit(0); raise(SIGINT);
} }
} }