We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
There shouldn't be running goroutines at exit.
func (p *amplitudePlugin) Setup(config types.Config) {} does
func (p *amplitudePlugin) Setup(config types.Config) {}
go p.start(p.messageChannel)
The goroutine is still running on exit.
In any go program using analytics-go add
defer func() { p := pprof.Lookup("goroutine") p.WriteTo(os.Stdout, 2) numGoroutines := runtime.NumGoroutine() printf("goroutines at exit of main()=%d", numGoroutines) }()
You'll see the running goroutine started by start()
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Expected Behavior
There shouldn't be running goroutines at exit.
Current Behavior
func (p *amplitudePlugin) Setup(config types.Config) {}
doesgo p.start(p.messageChannel)
The goroutine is still running on exit.
Possible Solution
Steps to Reproduce
In any go program using analytics-go add
You'll see the running goroutine started by start()
Environment
The text was updated successfully, but these errors were encountered: