diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Network/Tox/AggregateSession.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Network/Tox/AggregateSession.hs b/src/Network/Tox/AggregateSession.hs index b248c96f..513896cc 100644 --- a/src/Network/Tox/AggregateSession.hs +++ b/src/Network/Tox/AggregateSession.hs | |||
@@ -306,7 +306,7 @@ awaitAny :: AggregateSession -> STM (Maybe (Int,CryptoMessage)) | |||
306 | awaitAny c = readTMChan (contactChannel c) | 306 | awaitAny c = readTMChan (contactChannel c) |
307 | 307 | ||
308 | -- | Close all connections associated with the aggregate. No new sessions will | 308 | -- | Close all connections associated with the aggregate. No new sessions will |
309 | -- be accempted after this, and the notify callback will be informed that we've | 309 | -- be accepted after this, and the notify callback will be informed that we've |
310 | -- transitioned to 'Dormant'. | 310 | -- transitioned to 'Dormant'. |
311 | closeAll :: AggregateSession -> IO () | 311 | closeAll :: AggregateSession -> IO () |
312 | closeAll c = join $ atomically $ do | 312 | closeAll c = join $ atomically $ do |