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
After some searching, I thought your point was correct. Thank you for the suggestion, and I have opened a PR for fix it, #1475. Could you check it out? Thank you!
I notice the ctx.Done() needs a cancel function to unblock the statement of ctx.Done in https://github.com/shirou/gopsutil/blob/master/internal/common/sleep.go#LL13C1-L13C1,
but I never find the cancel function in its invocation. So if this may leak the goroutine where the ctx.Done() locates?
Maybe what I said is not right, thank you.
The text was updated successfully, but these errors were encountered: