pull/69/head
v2ray 9 years ago
parent 2c892e7b9d
commit add1197cc9

@ -73,7 +73,7 @@ func (queue *TimedQueue) Add(value interface{}, time2Remove int64) {
} }
queue.access.Unlock() queue.access.Unlock()
if removedEntry != nil { if removedEntry != nil {
queue.removedCallback(removedEntry) queue.removedCallback(removedEntry.value)
} }
} }

Loading…
Cancel
Save