Skip to content

Commit

Permalink
Memory align on 32bit arch fixes #39 (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
xjtdy888 authored Oct 30, 2020
1 parent 3b1fabc commit 66d98b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion subscription.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ const (

// Subscription represents client subscription to channel.
type Subscription struct {
futureID uint64
mu sync.Mutex
channel string
centrifuge *Client
Expand All @@ -141,7 +142,6 @@ type Subscription struct {
err error
needResubscribe bool
subFutures map[uint64]subFuture
futureID uint64
}

type subFuture struct {
Expand Down

0 comments on commit 66d98b3

Please sign in to comment.