Untrack stops tracking the pointer given by the handle
(handle unsafe.Pointer)
| 38 | |
| 39 | // Untrack stops tracking the pointer given by the handle |
| 40 | func (v *HandleList) Untrack(handle unsafe.Pointer) { |
| 41 | v.Lock() |
| 42 | delete(v.handles, handle) |
| 43 | C.free(handle) |
| 44 | v.Unlock() |
| 45 | } |
| 46 | |
| 47 | // Clear stops tracking all the managed pointers. |
| 48 | func (v *HandleList) Clear() { |
no test coverage detected