Ver Fonte

actually start the cleanup task

Darien Raymond há 7 anos atrás
pai
commit
1add59cd0d
1 ficheiros alterados com 2 adições e 0 exclusões
  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
 }