aboutsummaryrefslogtreecommitdiff
path: root/nexgb/xgb.go
diff options
context:
space:
mode:
Diffstat (limited to 'nexgb/xgb.go')
-rw-r--r--nexgb/xgb.go2
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