summarylogtreecommitdiffstats
path: root/no-lock.patch
blob: 3a82ef894fac808b29a9c79a62d58bea946d244d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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) {