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 #113279 from Ivorforce/tracy-gdscript-codeloc
Add support for profiling GDScript with tracy.
This commit is contained in:
@@ -136,5 +136,6 @@ int main(int argc, char **argv) {
|
||||
|
||||
memdelete(os);
|
||||
|
||||
godot_cleanup_profiler();
|
||||
return exit_code;
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user