google/tracing-framework — pull request #89 by benvanik (2012-12-10 07:25:53+00:00)
Title: Scope stack auto unwinding at trace time.

This automatically unwinds scopes when they are unmatched. This is designed
to make the exception case better.
It adds a minor amount of time to scope leaves (perf test per-call overhead
went from 0.000172ms to 0.000176ms). Likely still room for optimization.
Fixes #53.

Fix an exception that occurs when rapidly showing and hiding the HUD.