fix logic error in DeactivateServers that prevented Stop calls when experiment turned off #38

Merged
sarah merged 1 commits from experimentKillServe into trunk 2021-11-03 17:52:39 +00:00
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()
}
}