Skip to content

Commit

Permalink
Merge pull request #9725 from unoplatform/dev/eb/xaml-trimming-net6
Browse files Browse the repository at this point in the history
fix(WaitForUnlockedFile): Break if we can acquire exclusive lock on file
  • Loading branch information
ebariche authored Sep 3, 2022
2 parents dc7e3c6 + d026090 commit 4666c66
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ private void WaitForUnlockedFile(string filePath)
try
{
File.OpenWrite(filePath).Dispose();

break;
}
catch
{
Expand Down

0 comments on commit 4666c66

Please sign in to comment.