diff options
-rw-r--r-- | nexgb/xgb.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nexgb/xgb.go b/nexgb/xgb.go index 487ae16..44634fe 100644 --- a/nexgb/xgb.go +++ b/nexgb/xgb.go @@ -337,9 +337,9 @@ func (c *Conn) sendRequests() { } } req.cookie.Sequence = c.newSequenceId() - close(req.seq) c.cookieChan <- req.cookie c.writeBuffer(req.buf) + close(req.seq) } response := make(chan struct{}) c.closing <- response |