Fix event handler memory leak (#2298)
* fix event handler memory leak and double drops * Prevent double dropping generational boxes * recycle instead of dropping
This commit is contained in:
1 parent
a27d4e71ed
commit
47c87568e1
7 files changed
+182
-54
No files matched your search
@@ -135,7 +135,7 @@ pub fn static_segment_idx(idx: usize) -> Ident {
|
||||
|
||||
pub fn parse_route_segments<'a>(
|
||||
route_span: Span,
|
||||
mut fields: impl Iterator<Item = (&'a Ident, &'a Type)> + Clone,
|
||||
fields: impl Iterator<Item = (&'a Ident, &'a Type)> + Clone,
|
||||
route: &str,
|
||||
) -> syn::Result<(
|
||||
Vec<RouteSegment>,
|
||||
|
||||
Reference in new issue
Block a user