actually start the cleanup task

pull/1269/head
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
1 changed files with 2 additions and 0 deletions

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
} }