Explorar o código

actually start the cleanup task

Darien Raymond %!s(int64=7) %!d(string=hai) anos
pai
achega
1add59cd0d
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      common/strmatcher/strmatcher.go

+ 2 - 0
common/strmatcher/strmatcher.go

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