Fixing a race (#405).

This commit is contained in:
Kazu Yamamoto 2014-11-29 12:57:23 +09:00
parent e487a366d8
commit fb2dc5fca5

View File

@ -114,7 +114,7 @@
(condition-case nil (condition-case nil
(let ((inhibit-quit nil)) (let ((inhibit-quit nil))
(while (null ghc-process-rendezvous) (while (null ghc-process-rendezvous)
(accept-process-output pro))) (accept-process-output pro 0.1 nil t)))
(quit (quit
(setq ghc-process-running nil)))) (setq ghc-process-running nil))))
ghc-process-results)) ghc-process-results))