Skip to content

Commit

Permalink
Update hub.go
Browse files Browse the repository at this point in the history
  • Loading branch information
RHavar authored Jul 11, 2016
1 parent 54f9dec commit b5afd49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/chat/hub.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func (h *Hub) run() {
case conn.send <- message:
default:
close(conn.send)
delete(hub.connections, conn)
delete(h.connections, conn)
}
}
}
Expand Down

0 comments on commit b5afd49

Please sign in to comment.