Skip to content

Commit 88aa6f8

Browse files
committed
fix(data): clone that box
1 parent 0e8fa6f commit 88aa6f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/data/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ where
105105
pub fn handle(&self, obj: Box<&TData>)
106106
{
107107
for handler in &self.handlers {
108-
handler.handle(obj)
108+
handler.handle(obj.clone())
109109
}
110110
}
111111
}

0 commit comments

Comments
 (0)