mirror of
https://github.com/platformio/platformio-core.git
synced 2026-04-29 10:23:18 +02:00
Don’t lock cache directory while cleaning
This commit is contained in:
@@ -238,8 +238,6 @@ class ContentCache(object):
|
||||
def clean(self):
|
||||
if not self.cache_dir or not isdir(self.cache_dir):
|
||||
return
|
||||
if not self._lock_dbindex():
|
||||
return
|
||||
util.rmtree_(self.cache_dir)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user