diff options
author | kali kaneko (leap communications) <kali@leap.se> | 2021-05-17 11:59:42 +0200 |
---|---|---|
committer | kali kaneko (leap communications) <kali@leap.se> | 2021-05-17 17:52:45 +0200 |
commit | 1d0bdcd6d82b1edcb56268198b242a5814a04fd9 (patch) | |
tree | 861f352b748f26e51f1996bb6d6f7c3dcc1bc65f /pkg/backend | |
parent | 2b92c93e8643347fb9f769a92e0cc9edb1d7206e (diff) |
[bug] make the gw selection more responsive
Diffstat (limited to 'pkg/backend')
-rw-r--r-- | pkg/backend/api.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/backend/api.go b/pkg/backend/api.go index 60d51f3..0db26ae 100644 --- a/pkg/backend/api.go +++ b/pkg/backend/api.go @@ -63,7 +63,7 @@ func UseLocation(label string) { ctx.bm.UseGateway(label) go trigger(OnStatusChanged) if ctx.Status == on && label != strings.ToLower(ctx.CurrentLocation) { - ctx.bm.Reconnect() + go ctx.bm.Reconnect() } } |