FIX vpn state init
This commit is contained in:
parent
a0cdcce146
commit
003b0ce937
|
@ -34,7 +34,7 @@ instance Exec VPN where
|
|||
start (VPN (text, colors)) cb =
|
||||
withDBusClientConnection cb "VPN" $ \c -> do
|
||||
let dpy = displayMaybe cb iconFormatter . Just =<< readState
|
||||
s <- newMVar S.empty
|
||||
s <- newEmptyMVar
|
||||
mapRIO (VEnv c s dpy) $ do
|
||||
initState
|
||||
vpnAddedListener addedCallback
|
||||
|
|
Loading…
Reference in New Issue