small bug fix

This commit is contained in:
Remco
2014-09-23 11:31:42 +02:00
parent ed99e80d4f
commit 3d385f0b1e
2 changed files with 6 additions and 7 deletions

View File

@@ -86,9 +86,7 @@ func (c *CLAMDConn) readResponse() (chan string, sync.WaitGroup, error) {
// var dataArrays []string
go func() {
fmt.Println("Start")
defer func() {
fmt.Println("Cleaning up")
close(ch)
wg.Done()
}()