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
I'm making a lib to detect goroutine leaks, if we don't enable tracebackancestors it will be impossible to detect goroutine leaks in testing when testing.T.isParallel is enabled.
If we can add a function in runtime, such as runtime.TracebackAncestors(n int) then we don't have to add protection code like this:
I'm making a lib to detect goroutine leaks, if we don't enable
tracebackancestors
it will be impossible to detect goroutine leaks in testing whentesting.T.isParallel
is enabled.If we can add a function in
runtime
, such asruntime.TracebackAncestors(n int)
then we don't have to add protection code like this:https://github.com/ysmood/gotrace/blob/03c1fdd54f28e0778ae12534167858777a00ddcd/utils.go#L31-L38
The text was updated successfully, but these errors were encountered: