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

Reviewed-on: #38
Reviewed-by: Sarah Jamie Lewis <sarah@openprivacy.ca>
This commit is contained in:
Sarah Jamie Lewis 2021-11-03 17:52:39 +00:00
commit 17ab80f09c
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()
}
}