浏览代码

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