mirror of
https://github.com/mumble-voip/grumble.git
synced 2025-12-20 06:10:00 -08:00
Major gofix run.
This commit is contained in:
parent
92e6ac5276
commit
71b8314c2e
28 changed files with 522 additions and 559 deletions
|
|
@ -86,7 +86,7 @@ func (pool *SessionPool) Reclaim(id uint32) {
|
|||
if !inUse {
|
||||
panic("Attempt to reclaim invalid session ID")
|
||||
}
|
||||
pool.used[id] = false, false
|
||||
delete(pool.used, id)
|
||||
}
|
||||
|
||||
pool.unused = append(pool.unused, id)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue