fix(cli): don't store blob and data urls in the module cache (#18261)

This commit is contained in:
Nayeem Rahman 2023-03-26 10:24:10 +01:00 committed by GitHub
parent 8b596cbae1
commit b4c61c146a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 49 additions and 84 deletions

View file

@ -79,6 +79,11 @@ impl BlobStore {
let mut blob_store = self.object_urls.lock();
blob_store.remove(url);
}
pub fn clear(&self) {
self.parts.lock().clear();
self.object_urls.lock().clear();
}
}
#[derive(Debug)]