mirror of https://github.com/voidlizard/hbs2
minor-fix
This commit is contained in:
parent
8bbc15bc5b
commit
fb224635a5
|
@ -289,7 +289,10 @@ addDownload h = do
|
|||
wip <- asks (view blockWip)
|
||||
|
||||
liftIO do
|
||||
atomically $ writeTQueue q h
|
||||
atomically $ do
|
||||
modifyTVar tinq $ HashMap.insert h ()
|
||||
writeTQueue q h
|
||||
|
||||
Cache.insert wip h ()
|
||||
|
||||
-- | False -> do -- not hasSize -> do
|
||||
|
|
Loading…
Reference in New Issue