diff options
Diffstat (limited to 'no-lock.patch')
-rw-r--r-- | no-lock.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/no-lock.patch b/no-lock.patch new file mode 100644 index 000000000000..3a82ef894fac --- /dev/null +++ b/no-lock.patch @@ -0,0 +1,19 @@ +--- a/packages/flutter_tools/lib/src/cache.dart ++++ b/packages/flutter_tools/lib/src/cache.dart +@@ -280,7 +280,7 @@ + bool useUnsignedMacBinaries = false; + + static RandomAccessFile? _lock; +- static bool _lockEnabled = true; ++ static bool _lockEnabled = false; + + /// Turn off the [lock]/[releaseLock] mechanism. + /// +@@ -634,7 +634,6 @@ + } + + void setStampFor(String artifactName, String version) { +- getStampFileFor(artifactName).writeAsStringSync(version); + } + + File getStampFileFor(String artifactName) { |