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
|
maybe noop cleanuplockfile mlockfile
|
||||||
liftIO $ dropLock lck
|
liftIO $ dropLock lck
|
||||||
#else
|
#else
|
||||||
unlock mlockfile mlockhandle = do
|
unlock mlockfile lck = do
|
||||||
liftIO $ maybe noop dropLock mlockhandle
|
-- Can't delete a locked file on Windows
|
||||||
|
liftIO $ dropLock lck
|
||||||
maybe noop cleanuplockfile mlockfile
|
maybe noop cleanuplockfile mlockfile
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue