summaryrefslogtreecommitdiff
path: root/RemoteDaemon
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2014-04-08 15:26:32 -0400
committerGravatar Joey Hess <joey@kitenet.net>2014-04-08 15:26:32 -0400
commit16186a8b831bf771ff4f0ea40aa49bcc0b46b837 (patch)
tree95c5ebf350b6513b199dfbd5dacaf8dcf13cfb0c /RemoteDaemon
parent6328d368fc73de7c91cb6efa25769297df71897d (diff)
discard old transports on pause
Diffstat (limited to 'RemoteDaemon')
-rw-r--r--RemoteDaemon/Core.hs2
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