mirror of
https://github.com/duanhf2012/origin.git
synced 2026-02-04 06:54:45 +08:00
优化rpc内存池
This commit is contained in:
@@ -120,6 +120,13 @@ func (t *Timer) GetName() string{
|
||||
}
|
||||
|
||||
func (t *Timer) Reset(){
|
||||
t.name = ""
|
||||
t.cancelled = false
|
||||
t.C = nil
|
||||
t.interval = 0
|
||||
t.cb = nil
|
||||
t.AdditionData = nil
|
||||
t.rOpen = false
|
||||
}
|
||||
|
||||
func (t *Timer) IsRef()bool{
|
||||
|
||||
Reference in New Issue
Block a user