Browse Source

Fix 541 (struct fields are allocated sequentially)

Claudiu RAVEICA 10 years ago
parent
commit
4ff3d2fe76
1 changed files with 2 additions and 1 deletions
  1. 2 1
      control.go

+ 2 - 1
control.go

@@ -8,10 +8,11 @@ import (
 )
 
 type controlConn struct {
+	connecting uint64
+
 	session *Session
 
 	conn       atomic.Value
-	connecting uint64
 
 	retry RetryPolicy