Trim raster cache in iced_tiny_skia

This commit is contained in:
Héctor Ramón Jiménez 2023-03-07 06:15:05 +01:00
parent 5b3977daf6
commit a8d55ceb82
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
2 changed files with 12 additions and 0 deletions

View file

@ -86,6 +86,9 @@ impl Backend {
self.text_pipeline.trim_cache();
#[cfg(feature = "image")]
self.raster_pipeline.trim_cache();
#[cfg(feature = "svg")]
self.vector_pipeline.trim_cache();
}