Skip to content

Commit

Permalink
topbeat close publisher.Client on stop
Browse files Browse the repository at this point in the history
  • Loading branch information
urso committed Apr 19, 2016
1 parent 8ce0a6e commit 18be356
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions topbeat/beater/topbeat.go
Original file line number Diff line number Diff line change
Expand Up @@ -172,4 +172,5 @@ func (tb *Topbeat) Cleanup(b *beat.Beat) error {
func (t *Topbeat) Stop() {
logp.Info("Send stop signal to topbeat main loop")
close(t.done)
t.events.Close()
}

0 comments on commit 18be356

Please sign in to comment.