mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 13:49:54 +00:00
Fix profiler cleanup with --test.
This commit is contained in:
parent
63e14e13f9
commit
22daf7826d
1 changed files with 2 additions and 0 deletions
|
|
@ -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; \
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue