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() {
|
||||
lock.Lock()
|
||||
defer lock.Unlock()
|
||||
if appServers == nil {
|
||||
if appServers != nil {
|
||||
appServers.Stop()
|
||||
}
|
||||
}
|
||||
|
|
Reference in New Issue