MVar deadlock problem seems to be fixed by previous commit
This commit is contained in:
parent
4888c5b042
commit
a3636602ab
1 changed files with 0 additions and 3 deletions
|
@ -28,9 +28,6 @@ mergeThread st = do
|
|||
let dir = Git.localGitDir g </> "refs" </> "heads" </> "synced"
|
||||
createDirectoryIfMissing True dir
|
||||
let hook a = Just $ runHandler g a
|
||||
-- XXX: For reasons currently unknown, using the ThreadState
|
||||
-- inside the watch hooks leads to a MVar deadlock.
|
||||
-- Luckily, we don't currently need to do that.
|
||||
let hooks = mkWatchHooks
|
||||
{ addHook = hook onAdd
|
||||
, errHook = hook onErr
|
||||
|
|
Loading…
Reference in a new issue