Revoke object URL after clicking anchor to free memory.
This commit is contained in:
parent
7fddf30657
commit
cfe2e6cd6d
@ -396,7 +396,7 @@ async fn immediate_download_logs_refutable(
|
|||||||
el_anchor.click();
|
el_anchor.click();
|
||||||
body.remove_child(&el_anchor)?;
|
body.remove_child(&el_anchor)?;
|
||||||
}
|
}
|
||||||
// Url::revoke_object_url(&url)?;
|
Url::revoke_object_url(&url)?;
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user