fix logic error in DeactivateServers that prevented Stop calls when experiment turned off
continuous-integration/drone/pr Build is passing
Details
continuous-integration/drone/pr Build is passing
Details
This commit is contained in:
parent
baddf633b2
commit
9f7ffb50f9
|
@ -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