diff --git a/lib/Frontend/ModuleInterfaceBuilder.cpp b/lib/Frontend/ModuleInterfaceBuilder.cpp index c44c5c1dab138..c485bdfff8cbb 100644 --- a/lib/Frontend/ModuleInterfaceBuilder.cpp +++ b/lib/Frontend/ModuleInterfaceBuilder.cpp @@ -435,7 +435,7 @@ bool ImplicitModuleInterfaceBuilder::buildSwiftModule(StringRef OutPath, diagnose(diag::interface_file_lock_timed_out, interfacePath); } // Clear the lock file so that future invocations can make progress. - Lock.unsafeMaybeUnlock(); + Lock.unsafeUnlock(); continue; } }