You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-31 18:41:20 +00:00
Merge pull request #113557 from bruvzg/test_prof_clean
Fix profiler cleanup with `--test`.
This commit is contained in:
@@ -93,6 +93,7 @@ public:
|
||||
bool run_test = false; \
|
||||
int return_code = Main::test_entrypoint(argc, argv, run_test); \
|
||||
if (run_test) { \
|
||||
godot_cleanup_profiler(); \
|
||||
return return_code; \
|
||||
}
|
||||
|
||||
@@ -100,5 +101,6 @@ public:
|
||||
bool run_test = false; \
|
||||
int return_code = Main::test_entrypoint(argc, argv, run_test); \
|
||||
if (run_test) { \
|
||||
godot_cleanup_profiler(); \
|
||||
return return_code; \
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user