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