1
0
mirror of https://github.com/godotengine/godot.git synced 2025-12-31 18:41:20 +00:00

Merge pull request #113279 from Ivorforce/tracy-gdscript-codeloc

Add support for profiling GDScript with tracy.
This commit is contained in:
Rémi Verschelde
2025-12-02 14:16:56 +01:00
11 changed files with 201 additions and 1 deletions

View File

@@ -136,5 +136,6 @@ int main(int argc, char **argv) {
memdelete(os);
godot_cleanup_profiler();
return exit_code;
}

View File

@@ -1154,6 +1154,8 @@ void OS_MacOS_NSApp::start_main() {
}
void OS_MacOS_NSApp::terminate() {
godot_cleanup_profiler();
if (pre_wait_observer) {
CFRunLoopRemoveObserver(CFRunLoopGetCurrent(), pre_wait_observer, kCFRunLoopCommonModes);
CFRelease(pre_wait_observer);