libnmdc: remove redundant bool=false initialisation (handled in $Lock callback)
This commit is contained in:
parent
99e4ebb842
commit
e3a92da5f6
@ -405,12 +405,11 @@ func (this *HubConnectionOptions) Connect() *HubConnection {
|
|||||||
}
|
}
|
||||||
|
|
||||||
hc := HubConnection{
|
hc := HubConnection{
|
||||||
Hco: this,
|
Hco: this,
|
||||||
HubName: "(unknown)",
|
HubName: "(unknown)",
|
||||||
State: CONNECTIONSTATE_DISCONNECTED,
|
State: CONNECTIONSTATE_DISCONNECTED,
|
||||||
Users: make(map[string]UserInfo),
|
Users: make(map[string]UserInfo),
|
||||||
OnEvent: make(chan HubEvent, this.NumEventsToBuffer),
|
OnEvent: make(chan HubEvent, this.NumEventsToBuffer),
|
||||||
sentOurHello: false,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
go hc.worker()
|
go hc.worker()
|
||||||
|
Loading…
Reference in New Issue
Block a user