homeContext refactoring

This commit is contained in:
Andrey Meshkov
2020-09-08 15:16:36 +03:00
parent 06594bde8f
commit cc1060d428
10 changed files with 255 additions and 241 deletions

View File

@@ -119,8 +119,8 @@ func getVersionResp(info update.VersionInfo) []byte {
// Complete an update procedure
func finishUpdate() {
log.Info("Stopping all tasks")
cleanup()
cleanupAlways()
Context.cleanup()
Context.cleanupAlways()
exeName := "AdGuardHome"
if runtime.GOOS == "windows" {