modify time close

This commit is contained in:
zhouyuyan
2017-12-08 13:25:05 +08:00
parent bdd802ebfb
commit a260057bfe

View File

@@ -459,7 +459,7 @@ func (c *client) Close() {
return
}
//wait for message complete
time.Sleep(10 * time.Second)
time.Sleep(1 * time.Second)
c.smu.Lock()
c.status = Disconnected