소스 검색

actually start the cleanup task

Darien Raymond 7 년 전
부모
커밋
1add59cd0d
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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
 }