mirror of https://github.com/v2ray/v2ray-core
parent
eb05a92592
commit
eaa420411d
|
@ -54,6 +54,7 @@ func (t *Periodic) checkedExecute() error {
|
||||||
func (t *Periodic) Start() error {
|
func (t *Periodic) Start() error {
|
||||||
t.access.Lock()
|
t.access.Lock()
|
||||||
if t.running {
|
if t.running {
|
||||||
|
t.access.Unlock()
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
t.running = true
|
t.running = true
|
||||||
|
|
Loading…
Reference in New Issue