mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-16 23:08:05 +08:00
Add cache clearing to stop the memory leak (#1106)
* Add cache clearing * Add TODO comment --------- Co-authored-by: Keavon Chambers <keavon@keavon.com>
This commit is contained in:
committed by
Keavon Chambers
parent
9c4164291c
commit
a58d51d685
@@ -34,6 +34,7 @@ pub use raster::Color;
|
||||
pub trait Node<'i, Input: 'i>: 'i {
|
||||
type Output: 'i;
|
||||
fn eval<'s: 'i>(&'s self, input: Input) -> Self::Output;
|
||||
fn reset(self: Pin<&mut Self>) {}
|
||||
}
|
||||
|
||||
#[cfg(feature = "alloc")]
|
||||
|
||||
Reference in New Issue
Block a user