Merge pull request 'fix logic error in DeactivateServers that prevented Stop calls when experiment turned off' (#38) from experimentKillServe into trunk
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
Reviewed-on: #38 Reviewed-by: Sarah Jamie Lewis <sarah@openprivacy.ca>
This commit is contained in:
commit
17ab80f09c
|
@ -51,7 +51,7 @@ func InitServers(acn connectivity.ACN, appdir string) {
|
||||||
func DeactivateServers() {
|
func DeactivateServers() {
|
||||||
lock.Lock()
|
lock.Lock()
|
||||||
defer lock.Unlock()
|
defer lock.Unlock()
|
||||||
if appServers == nil {
|
if appServers != nil {
|
||||||
appServers.Stop()
|
appServers.Stop()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue