summaryrefslogtreecommitdiff
path: root/src/Network/BitTorrent
diff options
context:
space:
mode:
Diffstat (limited to 'src/Network/BitTorrent')
-rw-r--r--src/Network/BitTorrent/Sessions.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Network/BitTorrent/Sessions.hs b/src/Network/BitTorrent/Sessions.hs
index ba0c60a1..f2035066 100644
--- a/src/Network/BitTorrent/Sessions.hs
+++ b/src/Network/BitTorrent/Sessions.hs
@@ -300,7 +300,7 @@ enterSwarm SwarmSession {..} = do
300 MSem.wait vacantPeers 300 MSem.wait vacantPeers
301 301
302leaveSwarm :: SwarmSession -> IO () 302leaveSwarm :: SwarmSession -> IO ()
303leaveSwarm SwarmSession {..} = do 303leaveSwarm SwarmSession {..} = mask_ $ do
304 MSem.signal vacantPeers 304 MSem.signal vacantPeers
305 MSem.signal (activeThreads clientSession) 305 MSem.signal (activeThreads clientSession)
306 306