don’t panic after sending a ConnectionClose

This commit is contained in:
Marten Seemann
2016-12-01 16:33:54 +07:00
parent 2131e8fa6d
commit de168addd5
2 changed files with 10 additions and 3 deletions

View File

@@ -15,5 +15,8 @@ func main() {
panic(err)
}
client.Listen()
err = client.Listen()
if err != nil {
panic(err)
}
}