1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2026-06-19 17:29:54 -04:00

actually wait for done

This commit is contained in:
v2ray
2016-04-28 21:13:51 +02:00
parent ccb874d65a
commit ea6ccb88af

View File

@@ -56,7 +56,7 @@ func NewTimedUserValidator(hasher IDHash) UserValidator {
func (this *TimedUserValidator) Release() {
this.cancel.Cancel()
this.cancel.WaitForDone()
<-this.cancel.WaitForDone()
this.validUsers = nil
this.userHash = nil