mirror of
https://github.com/buger/goreplay.git
synced 2024-04-21 12:32:02 +00:00
Add comment.
This commit is contained in:
@@ -52,6 +52,7 @@ func Start(plugins *InOutPlugins, stop chan int) {
|
||||
}
|
||||
}
|
||||
|
||||
// Close closes all the goroutine and waits for it to finish.
|
||||
func Close(quit chan int) {
|
||||
closeOnce.Do(func() {
|
||||
close(quit)
|
||||
|
||||
Reference in New Issue
Block a user