diff options
author | Joey Hess <joey@kitenet.net> | 2014-04-08 15:26:32 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2014-04-08 15:26:32 -0400 |
commit | 16186a8b831bf771ff4f0ea40aa49bcc0b46b837 (patch) | |
tree | 95c5ebf350b6513b199dfbd5dacaf8dcf13cfb0c /RemoteDaemon | |
parent | 6328d368fc73de7c91cb6efa25769297df71897d (diff) |
discard old transports on pause
Diffstat (limited to 'RemoteDaemon')
-rw-r--r-- | RemoteDaemon/Core.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/RemoteDaemon/Core.hs b/RemoteDaemon/Core.hs index b32be98ef..7d07c35b1 100644 --- a/RemoteDaemon/Core.hs +++ b/RemoteDaemon/Core.hs @@ -71,7 +71,7 @@ runController ichan ochan = do go h paused (M.union common new) PAUSE -> do stoprunning m - go h True m + go h True M.empty RESUME -> do when paused $ startrunning m |