1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-01-02 23:47:07 -05:00

actually start the cleanup task

This commit is contained in:
Darien Raymond 2018-08-29 17:19:44 +02:00
parent 89fa9367ba
commit 1add59cd0d
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

View File

@ -5,6 +5,7 @@ import (
"sync" "sync"
"time" "time"
"v2ray.com/core/common"
"v2ray.com/core/common/task" "v2ray.com/core/common/task"
) )
@ -149,6 +150,7 @@ func NewCachedMatcherGroup(g *MatcherGroup) *CachedMatcherGroup {
return nil return nil
}, },
} }
common.Must(r.cleanup.Start())
return r return r
} }