| 84 | class TraceLock { |
| 85 | public: |
| 86 | TraceLock() : Lock(AllocTracer.TraceMutex) { |
| 87 | AllocTracer.TraceDisabled = !AllocTracer.TraceDisabled; |
| 88 | } |
| 89 | ~TraceLock() { AllocTracer.TraceDisabled = !AllocTracer.TraceDisabled; } |
| 90 | |
| 91 | bool IsDisabled() const { |
nothing calls this directly
no outgoing calls
no test coverage detected