summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
Diffstat (limited to 'pkg')
-rw-r--r--pkg/backend/actions.go4
-rw-r--r--pkg/backend/api.go2
2 files changed, 1 insertions, 5 deletions
diff --git a/pkg/backend/actions.go b/pkg/backend/actions.go
index ca45347..725a550 100644
--- a/pkg/backend/actions.go
+++ b/pkg/backend/actions.go
@@ -19,7 +19,3 @@ func stopVPN() {
log.Println(err)
}
}
-
-func closeVPN() {
- ctx.bm.Close()
-}
diff --git a/pkg/backend/api.go b/pkg/backend/api.go
index 58e0a42..a19fd40 100644
--- a/pkg/backend/api.go
+++ b/pkg/backend/api.go
@@ -34,7 +34,7 @@ func Quit() {
} else {
ctx.cfg.SetUserStoppedVPN(true)
}
- closeVPN()
+ ctx.bm.Close()
}
func DonateAccepted() {