We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c7e56a commit 691209cCopy full SHA for 691209c
ghcide/src/Development/IDE/Core/Compile.hs
@@ -787,7 +787,7 @@ addRelativeImport fp modu dflags = dflags
787
788
-- | Also resets the interface store
789
atomicFileWrite :: ShakeExtras -> FilePath -> (FilePath -> IO a) -> IO a
790
-atomicFileWrite se targetPath write = do
+atomicFileWrite se targetPath write = uninterruptibleMask_ $ do
791
let dir = takeDirectory targetPath
792
createDirectoryIfMissing True dir
793
(tempFilePath, cleanUp) <- newTempFileWithin dir
0 commit comments