Not linking caller to callee in a goroutine
fgm opened this issue · comments
Frédéric G. MARAND commented
I have an example like this:
func Outer(name string) func() error {
return func() error {
DoSomething(name)
return nil
}
}
func main() {
go Outer("some name")()
}
In the result, I get the main → Outer link and the Outer$1 → DoSomething link, but no main → Outer$1 link although func main is really invoking that lambda after it receives it from the Outer() call.