mirror of
https://github.com/denoland/deno.git
synced 2025-08-04 02:48:24 +00:00
fix(cli): don't store blob and data urls in the module cache (#18261)
This commit is contained in:
parent
8b596cbae1
commit
b4c61c146a
7 changed files with 49 additions and 84 deletions
|
@ -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)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue