diff options
Diffstat (limited to 'src/Network/BitTorrent')
-rw-r--r-- | src/Network/BitTorrent/Sessions.hs | 2 |
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 | ||
302 | leaveSwarm :: SwarmSession -> IO () | 302 | leaveSwarm :: SwarmSession -> IO () |
303 | leaveSwarm SwarmSession {..} = do | 303 | leaveSwarm SwarmSession {..} = mask_ $ do |
304 | MSem.signal vacantPeers | 304 | MSem.signal vacantPeers |
305 | MSem.signal (activeThreads clientSession) | 305 | MSem.signal (activeThreads clientSession) |
306 | 306 | ||