wolfpld / tracy

Frame profiler
https://tracy.nereid.pl/
Other
9.87k stars 658 forks source link

Fix segfault in Python bindings for TRACE_ENABLE=OFF case #759

Closed Chekov2k closed 6 months ago

Chekov2k commented 6 months ago

Found a problem with the python-bindings when TRACY_ENABLE=OFF. Use the opportunity to align return values for this case as well (this allows the example script to run when tracy is disabled as well).