unregister removes the ID.
(id *int)
| 423 | |
| 424 | // unregister removes the ID. |
| 425 | func (rt *reporterTracker) unregister(id *int) { |
| 426 | rt.mu.Lock() |
| 427 | defer rt.mu.Unlock() |
| 428 | delete(rt.allocations, id) |
| 429 | } |
| 430 | |
| 431 | // leakedStackTraces returns formatted stack traces for all currently registered |
| 432 | // reporters. |
no test coverage detected