1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-06-30 19:15:23 +00:00
v2fly/common/task/common.go

11 lines
181 B
Go
Raw Normal View History

2018-05-27 11:02:29 +00:00
package task
import "v2ray.com/core/common"
2018-12-06 10:35:02 +00:00
// Close returns a func() that closes v.
func Close(v interface{}) func() error {
2018-05-27 11:02:29 +00:00
return func() error {
return common.Close(v)
}
}