1
This commit is contained in:
parent
d738c1b946
commit
db0139e719
@ -39,7 +39,7 @@ func (this *sApiForward) init() {
|
||||
for i := 0; i < len(this.userCache); i++ {
|
||||
p := new(SApiForwardLockCache)
|
||||
p.lock = new(sync.Mutex)
|
||||
p.userHash = new(map[string]*SApiForwardLock)
|
||||
p.userHash = &map[string]*SApiForwardLock{}
|
||||
this.userCache[i] = p
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user