fix windows build
This commit is contained in:
parent
73b26a8b05
commit
1ff7610118
1 changed files with 3 additions and 2 deletions
|
@ -256,8 +256,9 @@ lockContentUsing locker key a = do
|
|||
maybe noop cleanuplockfile mlockfile
|
||||
liftIO $ dropLock lck
|
||||
#else
|
||||
unlock mlockfile mlockhandle = do
|
||||
liftIO $ maybe noop dropLock mlockhandle
|
||||
unlock mlockfile lck = do
|
||||
-- Can't delete a locked file on Windows
|
||||
liftIO $ dropLock lck
|
||||
maybe noop cleanuplockfile mlockfile
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue