fix logic error in DeactivateServers that prevented Stop calls when experiment turned off
continuous-integration/drone/pr Build is passing Details

This commit is contained in:
Dan Ballard 2021-11-03 10:50:20 -07:00
parent baddf633b2
commit 9f7ffb50f9
1 changed files with 1 additions and 1 deletions

View File

@ -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()
}
}