more generic
This commit is contained in:
parent
0842e99637
commit
c21a9fe04a
2 changed files with 12 additions and 11 deletions
|
@ -175,7 +175,8 @@ cancelTransfer pause t = do
|
|||
liftIO $ do
|
||||
unless pause $
|
||||
{- remove queued transfer -}
|
||||
void $ dequeueTransfer (transferQueue webapp) dstatus t
|
||||
void $ dequeueTransfers (transferQueue webapp) dstatus $
|
||||
equivilantTransfer t
|
||||
{- stop running transfer -}
|
||||
maybe noop (stop dstatus) (M.lookup t m)
|
||||
where
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue