You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
link: do not attempt to clean up perf event and tracefs event in order
Switching to runtime.AddCleanup means that cleanups may be batched and
may run concurrently. Since both the perf event and the tracefs event
will have a cleanup attached it's not possible to guarantee an ordering.
Drop the code which tries to clean up in order when the object is leaked
without calling Close().
Signed-off-by: Lorenz Bauer <[email protected]>
0 commit comments