modify time close
This commit is contained in:
1 parent
bdd802ebfb
commit
a260057bfe
1 file changed
+1
-1
+1
-1
@@ -459,7 +459,7 @@ func (c *client) Close() {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
//wait for message complete
|
//wait for message complete
|
||||||
time.Sleep(10 * time.Second)
|
time.Sleep(1 * time.Second)
|
||||||
|
|
||||||
c.smu.Lock()
|
c.smu.Lock()
|
||||||
c.status = Disconnected
|
c.status = Disconnected
|
||||||
|
|||||||
Reference in new issue
Block a user